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-07-18 04:25:25 +0400
committerisaacs <i@izs.me>2011-07-18 04:25:25 +0400
commit493bf0fe2d9defbe30603a72cfbe92f3ac0099ea (patch)
tree8e3d2c5be78b08b226f43d806776d8a3bcbe9548 /configure
parent05d3296bf8f4b94b022f7c8c15cc1299c9d671be (diff)
./configure needs submodules
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