aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorohair <none@none>2012-06-08 17:25:46 -0700
committerohair <none@none>2012-06-08 17:25:46 -0700
commitfec2db7f336db72079bc4052e6ff67e8195b575e (patch)
tree6c86a54b0a3f21a005facf997526d5c1f7afa3a4 /make
parent02303fadd91e18633ba46f01f426cbe7b7ca35d9 (diff)
7170091: Fix missing wait between repo cloning in hgforest.sh
Reviewed-by: strarup
Diffstat (limited to 'make')
-rw-r--r--make/scripts/hgforest.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/make/scripts/hgforest.sh b/make/scripts/hgforest.sh
index 515f1b5..aa67490 100644
--- a/make/scripts/hgforest.sh
+++ b/make/scripts/hgforest.sh
@@ -112,6 +112,9 @@ for i in ${repos} ; do
sleep 5
fi
done
+# Wait for all hg commands to complete
+wait
+
if [ "${repos_extra}" != "" ] ; then
for i in ${repos_extra} ; do
echo "Starting on ${i}"
@@ -127,11 +130,10 @@ if [ "${repos_extra}" != "" ] ; then
sleep 5
fi
done
+ # Wait for all hg commands to complete
+ wait
fi
-# Wait for all hg commands to complete
-wait
-
# Cleanup
rm -f -r ${tmp}