Skip to content

Commit aedcae2

Browse files
authored
Set PHP_BINARY from runtime constant
This avoids an issue when "php" in the path is just a forwarding shim.
1 parent 99b9208 commit aedcae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.scripts/debug-core.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
66
exit 1
77
fi
88

9-
PHP_BINARY=`which php`
9+
PHP_BINARY=`php -r 'echo PHP_BINARY;'`
1010
gdb -batch -ex "bt full" -ex "quit" "${PHP_BINARY}" "${1}"

0 commit comments

Comments
 (0)