1.1 --- a/make/scripts/hgforest.sh Thu May 24 16:15:30 2012 -0700 1.2 +++ b/make/scripts/hgforest.sh Fri Jun 08 17:25:46 2012 -0700 1.3 @@ -112,6 +112,9 @@ 1.4 sleep 5 1.5 fi 1.6 done 1.7 +# Wait for all hg commands to complete 1.8 +wait 1.9 + 1.10 if [ "${repos_extra}" != "" ] ; then 1.11 for i in ${repos_extra} ; do 1.12 echo "Starting on ${i}" 1.13 @@ -127,11 +130,10 @@ 1.14 sleep 5 1.15 fi 1.16 done 1.17 + # Wait for all hg commands to complete 1.18 + wait 1.19 fi 1.20 1.21 -# Wait for all hg commands to complete 1.22 -wait 1.23 - 1.24 # Cleanup 1.25 rm -f -r ${tmp} 1.26