Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-07-05 23:59:21 +0300
committerRebecca Turner <me@re-becca.org>2017-07-11 01:43:21 +0300
commitb58ec8eab3b4141e7f1b8b42d8cc24f716a804d8 (patch)
treef439595ce18db8a689e595c0020a26236cb8c2ab /Makefile
parentfb8220749aab9dfeedda61af0064d11d7d2b2acb (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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7b69df98f..5cb67d2d5 100644
--- a/Makefile
+++ b/Makefile
@@ -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