]> granicus.if.org Git - php/commitdiff
* look for pearcmd.php in the right directory when run from a cvs checkout
authorStig Bakken <ssb@php.net>
Fri, 4 Apr 2003 00:15:53 +0000 (00:15 +0000)
committerStig Bakken <ssb@php.net>
Fri, 4 Apr 2003 00:15:53 +0000 (00:15 +0000)
pear/scripts/pear.sh

index 839a0122d3da3d16074963f6215bb62427d04a0b..dad083833894fc7c82793373303783a1cc209bba 100644 (file)
@@ -17,7 +17,7 @@ if test "x$PHP_PEAR_INSTALL_DIR" != "x"; then
   INCARG="-d include_path=$PHP_PEAR_INSTALL_DIR"
 else
   if test "@php_dir@" = '@'php_dir'@'; then
-    INCDIR=`dirname $0`/..
+    INCDIR=`dirname $0`
     INCARG=""  
   else
     INCDIR="@php_dir@"