diff options
author | Rebecca Turner <me@re-becca.org> | 2017-07-05 23:59:21 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-07-11 01:43:21 +0300 |
commit | b58ec8eab3b4141e7f1b8b42d8cc24f716a804d8 (patch) | |
tree | f439595ce18db8a689e595c0020a26236cb8c2ab /Makefile | |
parent | fb8220749aab9dfeedda61af0064d11d7d2b2acb (diff) |
selfinstall: Fix self install in Makefile and install.sh
We were doing `npm install -g` on `make install` and in the `install.sh`
bootstrapper, which now makes a symlink. This updates it to go back to
creating a global copy.
Fixes: #17554
Fixes: #17377
Fixes: #16916
Credit: @iarna
Reviewed-By: @zkat
PR-URL: https://github.com/npm/npm/pull/17626
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -56,7 +56,7 @@ latest: node bin/npm-cli.js install -g -f npm ${NPMOPTS} install: all - node bin/npm-cli.js install -g -f ${NPMOPTS} + node bin/npm-cli.js install -g -f ${NPMOPTS} $(shell node bin/npm-cli.js pack | tail -1) # backwards compat dev: install |