mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
run-nightly: exit if an (interactive) command was passed
This commit is contained in:
parent
8d9716a4e3
commit
75bc96e9a3
@ -5,6 +5,7 @@ cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
while true; do
|
||||
git pull
|
||||
./build.sh nightly-$(date -u +%F) $1
|
||||
${1:+exit 0}
|
||||
date
|
||||
|
||||
sleep 49m
|
||||
|
||||
Loading…
Reference in New Issue
Block a user