mirror of
https://github.com/Brodino96/webkit2gtk-automator.git
synced 2026-05-05 22:29:57 +02:00
fix(build): now respects core limitations
This commit is contained in:
@@ -60,6 +60,8 @@ echo "[entrypoint] Starting polling loop, interval: ${POLL_INTERVAL_SECONDS}s"
|
||||
exec sudo -u builduser --preserve-env HOME=/home/builduser bash -c '
|
||||
set -euo pipefail
|
||||
POLL_INTERVAL_SECONDS="'"${POLL_INTERVAL_SECONDS}"'"
|
||||
NPROC="'"${NPROC:-}"'"
|
||||
[[ -n "${NPROC}" ]] && export NPROC
|
||||
while true; do
|
||||
/workspace/scripts/check-update.sh
|
||||
echo "[entrypoint] Sleeping for ${POLL_INTERVAL_SECONDS}s"
|
||||
|
||||
Reference in New Issue
Block a user