aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/performance
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mmx@google.com>2018-01-25 11:00:09 -0800
committerGravatar Mehrdad Afshari <mmx@google.com>2018-01-26 12:16:28 -0800
commita957ce29062f0591856b3766f2edd4ce8a7ca2ba (patch)
tree7d08dc857a96addd97bd5f6479c24fe98bba7256 /tools/run_tests/performance
parentbddfffa7b33fc7fdc066aaa8ff41c513f5a8543a (diff)
Fix build_performance_go.sh to pass shellcheck
Diffstat (limited to 'tools/run_tests/performance')
-rwxr-xr-xtools/run_tests/performance/build_performance_go.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/run_tests/performance/build_performance_go.sh b/tools/run_tests/performance/build_performance_go.sh
index 5e97fb68d3..812728d4ce 100755
--- a/tools/run_tests/performance/build_performance_go.sh
+++ b/tools/run_tests/performance/build_performance_go.sh
@@ -15,7 +15,7 @@
set -ex
-cd $(dirname $0)/../../..
+cd "$(dirname "$0")/../../.."
export GOPATH=$(pwd)/../gopath
@@ -24,6 +24,6 @@ go get google.golang.org/grpc
rm -rf "${GOPATH}/src/google.golang.org/grpc"
# Get the revision of grpc-go we want to test
-git clone --recursive ../grpc-go ${GOPATH}/src/google.golang.org/grpc
+git clone --recursive ../grpc-go "${GOPATH}/src/google.golang.org/grpc"
-(cd ${GOPATH}/src/google.golang.org/grpc/benchmark/worker && go install)
+(cd "${GOPATH}/src/google.golang.org/grpc/benchmark/worker" && go install)