From 37b81aa0be2c7429979796b83263ed637d68e712 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Fri, 16 Jul 2021 07:26:49 -0500 Subject: [PATCH] Fixed issue with unset FORCE_REDOWNLOAD with TYPE=AIRPLANE #979 --- start-deployAirplane | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-deployAirplane b/start-deployAirplane index 89deac44..8b40169a 100644 --- a/start-deployAirplane +++ b/start-deployAirplane @@ -32,7 +32,7 @@ log "Using Airplane-${AIRPLANE_BRANCH} branch" export SERVER=airplane-${AIRPLANE_BRANCH}-${AIRPLANE_BUILD}.jar -if [ ! -f "$SERVER" ] || isTrue "$FORCE_REDOWNLOAD"; then +if [ ! -f "$SERVER" ] || isTrue "${FORCE_REDOWNLOAD:-false}"; then downloadUrl="https://ci.tivy.ca/job/Airplane-${AIRPLANE_BRANCH}/${AIRPLANE_BUILD}/artifact/launcher-airplane.jar" log "Downloading Airplane from $downloadUrl ..." curl -fsSL -o "$SERVER" "$downloadUrl"