]> granicus.if.org Git - php/commitdiff
Detect shtool properly when build-dir != php source dir.
authorIlia Alshanetsky <iliaa@php.net>
Sun, 20 Mar 2005 19:47:13 +0000 (19:47 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 20 Mar 2005 19:47:13 +0000 (19:47 +0000)
run-tests.php

index f92d2676c81398fdc80d124ebc6ba34db94505b3..184adb1c0f72a403e0918b85f7dc707589d0f61e 100755 (executable)
@@ -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' */