make/scripts/hgforest.sh
changeset 12802 cd7cb0396d1f
parent 12583 78cadbe9f385
child 13190 9a809edf1ff6
--- 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}