From fad55415e124dc3dd81326490be36cbe53269255 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Wed, 13 May 2015 11:12:05 +0300 Subject: [PATCH] Fix working directory for nightly --- automated/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/automated/build.sh b/automated/build.sh index 7e1b128c..7690be08 100755 --- a/automated/build.sh +++ b/automated/build.sh @@ -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