diff options
author | Mehrdad Afshari <mmx@google.com> | 2017-06-27 12:39:29 -0700 |
---|---|---|
committer | Mehrdad Afshari <mmx@google.com> | 2017-12-15 13:31:44 -0800 |
commit | 009941ed51bf80a3d49b088b49e5350db7300ea8 (patch) | |
tree | 045025b10818c73a3c49eda6187064b42f30ba4b /tools | |
parent | 0ccd3af0e8900a30e7f066b4c1da04888988a954 (diff) |
Fix build_php.sh to pass shellcheck
Diffstat (limited to 'tools')
-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 |