aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mmx@google.com>2017-12-15 13:33:10 -0800
committerGravatar Mehrdad Afshari <mmx@google.com>2017-12-15 13:33:10 -0800
commitaf3eb698566ab6a53a9b23bd6390f86dc772af67 (patch)
tree44bc84a9ed283a9eaeb5f3945fb18c338dc7a483 /tools/run_tests
parent4fc1317565f106355963ddf34c70cdb179a5faf5 (diff)
Fix run_grpc-node.sh to pass shellcheck
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-xtools/run_tests/helper_scripts/run_grpc-node.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/run_tests/helper_scripts/run_grpc-node.sh b/tools/run_tests/helper_scripts/run_grpc-node.sh
index 25f149f579..747aae7fd5 100755
--- a/tools/run_tests/helper_scripts/run_grpc-node.sh
+++ b/tools/run_tests/helper_scripts/run_grpc-node.sh
@@ -17,12 +17,12 @@
# to this reference
# cd to gRPC root directory
-cd $(dirname $0)/../../..
+cd "$(dirname "$0")/../../.."
-CURRENT_COMMIT=$(git rev-parse --verify HEAD)
+CURRENT_COMMIT="$(git rev-parse --verify HEAD)"
rm -rf ./../grpc-node
git clone --recursive https://github.com/grpc/grpc-node ./../grpc-node
cd ./../grpc-node
-./test-grpc-submodule.sh $CURRENT_COMMIT
+./test-grpc-submodule.sh "$CURRENT_COMMIT"