From: Quirin Gylstorff <[email protected]>

Shell substitution will use the complete default string. Remove
the quotation marks to fix call of lavacli.

Signed-off-by: Quirin Gylstorff <[email protected]>
---
 scripts/run-lava-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/run-lava-tests.sh b/scripts/run-lava-tests.sh
index 870f1f9..f714b78 100755
--- a/scripts/run-lava-tests.sh
+++ b/scripts/run-lava-tests.sh
@@ -37,7 +37,7 @@ if [ -z "${TARGET}" ]; then
     echo "no target was given"
     exit -1
 fi
-artifact_url="${LAVA_ARTIFACTS_URL:-'http://localhost/artifacts'}"
+artifact_url="${LAVA_ARTIFACTS_URL:-http://localhost/artifacts}";
 
 # connect to lava master
 lavacli identities add --token ${LAVA_MASTER_TOKEN} --uri ${LAVA_MASTER_URI} 
--username ${LAVA_MASTER_ACCOUNT} default
-- 
2.20.1


Reply via email to