Fix build_php.sh to pass shellcheck

pull/11622/head
Mehrdad Afshari 8 years ago
parent 0ccd3af0e8
commit 009941ed51
  1. 8
      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

Loading…
Cancel
Save