devops: fix buildbot-windows.sh

This commit is contained in:
Andrey Lushnikov 2019-11-25 17:11:36 -08:00
parent 2887312330
commit a13556c27c

View File

@ -39,10 +39,10 @@ while true; do
../checkout_build_archive_upload.sh firefox
git pull origin master
../checkout_build_archive_upload.sh firefox --win64
echo "------ Sleeping for 300 seconds before next turn... ------"
newTimestamp=$(date +%s)
delta=$(( 300 - newTimestamp + timestamp ));
if (( delta > 0 )); then
sleep $detla
echo "------ Sleeping for $delta seconds before next turn... ------"
sleep $delta
fi
done;