From fec2db7f336db72079bc4052e6ff67e8195b575e Mon Sep 17 00:00:00 2001 From: ohair Date: Fri, 8 Jun 2012 17:25:46 -0700 Subject: 7170091: Fix missing wait between repo cloning in hgforest.sh Reviewed-by: strarup --- make/scripts/hgforest.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'make') 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} -- cgit v1.2.3