7170091: Fix missing wait between repo cloning in hgforest.sh
Reviewed-by: strarup
This commit is contained in:
parent
ffd7528dd6
commit
5a3b13508d
@ -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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user