aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorkatleman <none@none>2012-06-13 16:53:05 -0700
committerkatleman <none@none>2012-06-13 16:53:05 -0700
commit33585fc36388f55ad22686ce6a5b176f29cf7063 (patch)
tree3d48f539c912110f29a1388a0e1836304bb08f44 /make
parentf9c8e048778dc5e9f97e2e4b99b34f42f9492e72 (diff)
parentdb9c4cb598c14e2a92256f5af0320fe75d2ef9c5 (diff)
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}