mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-12 15:28:29 +01:00
Fix working directory for nightly
This commit is contained in:
parent
25fca6d619
commit
fad55415e1
@ -4,9 +4,10 @@ set -eux
|
||||
|
||||
ROOT=$(cd $(dirname $0) ; pwd)
|
||||
TARGET=$1
|
||||
IMAGE=snoyberg/stackage:$(echo $TARGET | cut -d- -f 1)
|
||||
TAG=$(echo $TARGET | cut -d- -f 1)
|
||||
IMAGE=snoyberg/stackage:$TAG
|
||||
|
||||
if [ "$IMAGE" -eq "nightly"]
|
||||
if [ "$TAG" -eq "nightly"]
|
||||
then
|
||||
TROOT=$ROOT/nightly
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user