summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-03-20 19:47:13 (GMT)
committerIlia Alshanetsky <iliaa@php.net>2005-03-20 19:47:13 (GMT)
commit978f50c046ccb20ac9f617ba443a456959f81223 (patch)
treea31f8f90747a32b03c86763dd08862f111d52a1d /run-tests.php
parent9c3164e487bdfd6d1d8cab3a0f620d7dff1cd837 (diff)
downloadphp-978f50c046ccb20ac9f617ba443a456959f81223.tar.gz
Detect shtool properly when build-dir != php source dir.
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index f92d267..184adb1 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -511,7 +511,7 @@ if (!getenv('NO_INTERACTION')) {
$libtool = shell_exec($CUR_DIR . '/libtool --version');
/* Use shtool to find out if there is glibtool present (MacOSX) */
- $sys_libtool_path = shell_exec("./build/shtool path glibtool libtool");
+ $sys_libtool_path = shell_exec(dirname(__FILE__) . "./build/shtool path glibtool libtool");
$sys_libtool = shell_exec(str_replace("\n", "", $sys_libtool_path) . ' --version');
/* Try the most common flags for 'version' */