aboutsummaryrefslogtreecommitdiff
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 1335c06b..7a12f267 100755
--- a/tests.sh
+++ b/tests.sh
@@ -408,7 +408,8 @@ build_php5.6_c() {
build_php5.6_mac() {
# Install PHP
curl -s https://php-osx.liip.ch/install.sh | bash -s 5.6
- export PATH="/usr/local/php5-5.6.25-20160831-101628/bin:$PATH"
+ PHP_FOLDER=`find /usr/local -type d -name "php5-5.6*"` # The folder name may change upon time
+ export PATH="$PHP_FOLDER/bin:$PATH"
# Install phpunit
curl https://phar.phpunit.de/phpunit.phar -L -o phpunit.phar