aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
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}