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' */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to