7170091: Fix missing wait between repo cloning in hgforest.sh

Reviewed-by: strarup
This commit is contained in:
Kelly O'Hair 2012-06-08 17:25:46 -07:00
parent ffd7528dd6
commit 5a3b13508d

View File

@ -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}