iliaa           Sun Mar 20 14:47:25 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src    run-tests.php 
  Log:
  MFH: Detect shtool properly when build-dir != php source dir.
  
  
http://cvs.php.net/diff.php/php-src/run-tests.php?r1=1.195.2.5&r2=1.195.2.6&ty=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.195.2.5 php-src/run-tests.php:1.195.2.6
--- php-src/run-tests.php:1.195.2.5     Tue Feb 22 20:17:20 2005
+++ php-src/run-tests.php       Sun Mar 20 14:47:24 2005
@@ -478,7 +478,7 @@
                        $libtool = shell_exec($_SERVER['PWD'] . '/libtool 
--version');
 
                        /* Use shtool to find out if there is glibtool present 
(MacOSX) */
-                       $sys_libtool_path = 
shell_exec("{$_SERVER['PWD']}/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