From: Stig Bakken Date: Fri, 4 Apr 2003 00:15:53 +0000 (+0000) Subject: * look for pearcmd.php in the right directory when run from a cvs checkout X-Git-Tag: RELEASE_0_5~150 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99824847c6953b65b389242f12120888257aa4d2;p=php * look for pearcmd.php in the right directory when run from a cvs checkout --- diff --git a/pear/scripts/pear.sh b/pear/scripts/pear.sh index 839a0122d3..dad0838338 100644 --- a/pear/scripts/pear.sh +++ b/pear/scripts/pear.sh @@ -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@"