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:
authorAria Stewart <aredridel@nbtsc.org>2015-01-26 00:47:51 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-01-30 13:28:37 +0300
commiteeff04da7979a0181becd36b8777d607e7aa1787 (patch)
tree8e0a472ec6cde30386b6f0faf30834aa78cf7be8 /Makefile
parentd8fdad86d5138eed60547ec786a3d2f72207712c (diff)
Add an NPMOPTS variable to toplevel install
This allows make install from a script to override userconfig in particular
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8ec309ea7..d7e31ffe8 100644
--- a/Makefile
+++ b/Makefile
@@ -85,10 +85,10 @@ latest:
@echo "Installing latest published npm"
@echo "Use 'make install' or 'make link' to install the code"
@echo "in this folder that you're looking at right now."
- node cli.js install -g -f npm
+ node cli.js install -g -f npm ${NPMOPTS}
install: all
- node cli.js install -g -f
+ node cli.js install -g -f ${NPMOPTS}
# backwards compat
dev: install