mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-24 21:21:58 +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
|
while true; do
|
||||||
git pull
|
git pull
|
||||||
./build.sh nightly-$(date -u +%F) $1
|
./build.sh nightly-$(date -u +%F) $1
|
||||||
|
${1:+exit 0}
|
||||||
date
|
date
|
||||||
|
|
||||||
sleep 49m
|
sleep 49m
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user