Don't run in background, will crash Ubuntu

This commit is contained in:
Lup Yuen Lee 2024-11-30 09:40:37 +08:00
parent d31d85174b
commit e0abf783d9

View file

@ -196,17 +196,14 @@ for commit in $(
$apps_hash \ $apps_hash \
$nuttx_hash \ $nuttx_hash \
$next_hash \ $next_hash \
$prev_hash \ $prev_hash
&
## Throttle our downloads from GitHub
date ; sleep 60
## Shift the Commits ## Shift the Commits
prev_hash=$nuttx_hash prev_hash=$nuttx_hash
nuttx_hash=$next_hash nuttx_hash=$next_hash
timestamp=$next_timestamp timestamp=$next_timestamp
((count++)) ((count++))
date
done done
## Wait for Background Tasks to complete ## Wait for Background Tasks to complete
@ -214,4 +211,4 @@ fg || true
## Free up the Docker disk space ## Free up the Docker disk space
sudo docker system prune --force sudo docker system prune --force
echo "Done!" set +x ; echo "***** Done!" ; set -x