From 13160e13663a097a2fd78033b623717dfcb9a81b Mon Sep 17 00:00:00 2001 From: Michael Tryby Date: Thu, 7 Mar 2019 10:17:09 -0500 Subject: [PATCH] Quoting the command --- tools/before-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/before-test.sh b/tools/before-test.sh index 155cbc1..45a5805 100755 --- a/tools/before-test.sh +++ b/tools/before-test.sh @@ -64,8 +64,8 @@ SUT_PATH=(`find $BUILD_HOME -name "bin" -type d`) # hack to determine latest tag from GitHub LATEST_URL="https://github.com/OpenWaterAnalytics/epanet-example-networks/releases/latest" -temp_url=$(curl -sI ${LATEST_URL} | grep -iE "^Location:") -LATEST_TAG=$(echo ${temp_url##*/}) +temp_url="$(curl -sI ${LATEST_URL} | grep -iE "^Location:")" +LATEST_TAG="$(echo ${temp_url##*/})" TEST_URL="https://github.com/OpenWaterAnalytics/epanet-example-networks/archive/${LATEST_TAG}.tar.gz" BENCH_URL="https://github.com/OpenWaterAnalytics/epanet-example-networks/releases/download/${LATEST_TAG}/benchmark-${PLATFORM}-${REF_BUILD_ID}.tar.gz"