diff options
author | 2017-12-15 16:17:19 -0800 | |
---|---|---|
committer | 2017-12-15 16:17:19 -0800 | |
commit | 336bce09d4e902ec47a46ecc9d333f954825dc8b (patch) | |
tree | a75b3a0e5fab0d049ba83eaf204e900fe50e9f7a /tools/run_tests/helper_scripts/build_php.sh | |
parent | 28839ce3a8bfe1c83017b8045a131698f1a8c904 (diff) | |
parent | 290bbd2111fb7069c89cd154965a4dc78b63c95f (diff) |
Merge pull request #11622 from mehrdada/shellckec
Fix tools/run_tests/helper_scripts/*.sh to pass shellcheck
Diffstat (limited to 'tools/run_tests/helper_scripts/build_php.sh')
-rwxr-xr-x | tools/run_tests/helper_scripts/build_php.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/run_tests/helper_scripts/build_php.sh b/tools/run_tests/helper_scripts/build_php.sh index 856e5b6865..443be34fa0 100755 --- a/tools/run_tests/helper_scripts/build_php.sh +++ b/tools/run_tests/helper_scripts/build_php.sh @@ -18,9 +18,9 @@ set -ex CONFIG=${CONFIG:-opt} # change to grpc repo root -cd $(dirname $0)/../../.. +cd "$(dirname "$0")/../../.." -root=`pwd` +root=$(pwd) export GRPC_LIB_SUBDIR=libs/$CONFIG export CFLAGS="-Wno-parentheses-equality" @@ -30,8 +30,8 @@ cd src/php cd ext/grpc phpize if [ "$CONFIG" != "gcov" ] ; then - ./configure --enable-grpc=$root + ./configure --enable-grpc="$root" else - ./configure --enable-grpc=$root --enable-coverage + ./configure --enable-grpc="$root" --enable-coverage fi make |