From c5bcbc62fe9cbdc783aef92761a73f0c553afbe0 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Fri, 13 Mar 2015 15:20:14 -0700 Subject: [PATCH] Handle spaces in shell script --- compiler/src/test/run_nano_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/test/run_nano_test.sh b/compiler/src/test/run_nano_test.sh index c86243a6d3..329f442173 100755 --- a/compiler/src/test/run_nano_test.sh +++ b/compiler/src/test/run_nano_test.sh @@ -5,7 +5,7 @@ if [ -z "$TEST_TMP_DIR" ]; then exit 1; fi -cd $(dirname $0) +cd "$(dirname "$0")" INPUT_FILE="proto/test.proto" OUTPUT_FILE="$TEST_TMP_DIR/TestServiceGrpc.src.jar"