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:
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index c44f06467..69f752e11 100755
--- a/configure
+++ b/configure
@@ -23,6 +23,11 @@ while [ $# -gt 0 ]; do
shift
done
+# Pull in submodules, since npm can't work without them.
+if [ -f .git ]; then
+ git submodule update --init
+fi
+
for c in "${CONFIGS[@]}"; do
echo '+node ./bin/npm.js config set "'"$c"'"'
node ./bin/npm.js config set "$c"