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:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 69f752e11..62036c651 100755
--- a/configure
+++ b/configure
@@ -24,8 +24,8 @@ while [ $# -gt 0 ]; do
done
# Pull in submodules, since npm can't work without them.
-if [ -f .git ]; then
- git submodule update --init
+if [ -d .git ]; then
+ git submodule update --init --recursive
fi
for c in "${CONFIGS[@]}"; do