cvs: php-src / run-tests.php
| From: | Ilia Alshanetsky | Date: | Sun, 20 Mar 2005 19:47:14 +0000 |
| Subject: | cvs: php-src / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-31029@lists.php.net to get a copy of this message | ||
iliaa Sun Mar 20 14:47:14 2005 EDT
Modified files:
/php-src run-tests.php
Log:
Detect shtool properly when build-dir != php source dir.
http://cvs.php.net/diff.php/php-src/run-tests.php?r1=1.208&r2=1.209&ty=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.208 php-src/run-tests.php:1.209
--- php-src/run-tests.php:1.208 Fri Mar 18 17:43:40 2005
+++ php-src/run-tests.php Sun Mar 20 14:47:13 2005
@@ -511,7 +511,7 @@
$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' */