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:
authorisaacs <i@izs.me>2011-06-28 00:30:38 +0400
committerisaacs <i@izs.me>2011-06-28 00:30:38 +0400
commit896484a93694b721816e0ebcd8a97613693aa907 (patch)
tree33e3672d80f89ac07a095e37c60b35b5261224c2 /configure
parent258814705b13ce1db146333e4dd9cf310a874b4d (diff)
Close #1088 Configure needs submodules
Diffstat (limited to 'configure')
-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"