# HG changeset patch # User ohair # Date 1339201546 25200 # Node ID dd037cebb1da83bc54de17018317ec4344adbdfa # Parent a2d8b628b24b5aa17849c10431d4cac1abca5ae8 7170091: Fix missing wait between repo cloning in hgforest.sh Reviewed-by: strarup diff -r a2d8b628b24b -r dd037cebb1da make/scripts/hgforest.sh --- a/make/scripts/hgforest.sh Fri May 11 17:52:57 2012 -0700 +++ 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}