mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-03-25 09:47:04 +01:00
run-nightly.sh: fix exit for once single run
./run-nightly.sh: line 20: date;: command not found
This commit is contained in:
parent
06343b78b8
commit
9e38fdb5f3
@ -17,8 +17,8 @@ while true; do
|
||||
time script -c "./build.sh nightly-$(date -u +%F) $cmd" $LOG_FILE
|
||||
touch -h nightly-build.log
|
||||
${cmd:+exit 0}
|
||||
${once:+date; exit 0}
|
||||
echo "$0: run completed at $(date)"
|
||||
${once:+exit 0}
|
||||
echo
|
||||
sleep 90m
|
||||
echo
|
||||
|
||||
Loading…
Reference in New Issue
Block a user