aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/bin/determine_extension_dir.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/php/bin/determine_extension_dir.sh')
-rwxr-xr-xsrc/php/bin/determine_extension_dir.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/bin/determine_extension_dir.sh b/src/php/bin/determine_extension_dir.sh
index a59882506f..e3d6bbc1a5 100755
--- a/src/php/bin/determine_extension_dir.sh
+++ b/src/php/bin/determine_extension_dir.sh
@@ -32,7 +32,7 @@ default_extension_dir=$(php-config --extension-dir)
if [ ! -e $default_extension_dir/grpc.so ]; then
# the grpc extension is not found in the default PHP extension dir
# try the source modules directory
- module_dir=../ext/grpc/modules
+ module_dir=$(pwd)/../ext/grpc/modules
if [ ! -e $module_dir/grpc.so ]; then
echo "Please run 'phpize && ./configure && make' from ext/grpc first"
exit 1