diff --git a/Makefile b/Makefile index bb2dff4602..73448b7c89 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ TARGETS := $(shell ls scripts | grep -v \\.sh) .dapper: @echo Downloading dapper - @curl -sL https://releases.rancher.com/dapper/v0.4.2/dapper-`uname -s`-`uname -m` > .dapper.tmp + @curl -sL https://releases.rancher.com/dapper/v0.4.2/dapper-$(uname -s)-$(uname -m) > .dapper.tmp @@chmod +x .dapper.tmp @./.dapper.tmp -v @mv .dapper.tmp .dapper diff --git a/tests/perf/scripts/test b/tests/perf/scripts/test index 5866907849..6dfa1191ac 100755 --- a/tests/perf/scripts/test +++ b/tests/perf/scripts/test @@ -3,8 +3,8 @@ test_load() { source scripts/config eval PRIVATE_KEY_PATH=$PRIVATE_KEY_PATH - EXPANDED_PRIV_KEY_PATH=`readlink -f $PRIVATE_KEY_PATH` - masterips=`terraform output -state=server/server.tfstate | grep k3s_server_ips | cut -d "=" -f 2` + EXPANDED_PRIV_KEY_PATH=$(readlink -f $PRIVATE_KEY_PATH) + masterips=$(terraform output -state=server/server.tfstate | grep k3s_server_ips | cut -d "=" -f 2) pushd tests/ docker run -v $EXPANDED_PRIV_KEY_PATH:/opt/priv_key \ -e KUBE_SSH_USER=ubuntu \ @@ -23,8 +23,8 @@ test_load() { test_density() { source scripts/config eval PRIVATE_KEY_PATH=$PRIVATE_KEY_PATH - EXPANDED_PRIV_KEY_PATH=`readlink -f $PRIVATE_KEY_PATH` - masterips=`terraform output -state=server/server.tfstate | grep k3s_server_ips | cut -d "=" -f 2` + EXPANDED_PRIV_KEY_PATH=$(readlink -f $PRIVATE_KEY_PATH) + masterips=$(terraform output -state=server/server.tfstate | grep k3s_server_ips | cut -d "=" -f 2) pushd tests/ docker run -e KUBE_SSH_USER=ubuntu \ -v $EXPANDED_PRIV_KEY_PATH:/opt/priv_key \