7170091: Fix missing wait between repo cloning in hgforest.sh
Reviewed-by: strarup
--- a/make/scripts/hgforest.sh Wed Jul 05 18:12:03 2017 +0200
+++ b/make/scripts/hgforest.sh Fri Jun 08 17:25:46 2012 -0700
@@ -112,6 +112,9 @@
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 @@
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}