diff options
author | Tomas V.V.Cox <cox@php.net> | 2002-06-12 16:31:53 +0000 |
---|---|---|
committer | Tomas V.V.Cox <cox@php.net> | 2002-06-12 16:31:53 +0000 |
commit | d2b830ff4a6dac8174bb3c5235a5d5ec6087453a (patch) | |
tree | a61d6c43c8eaa7cf920fdf7b8fe65c108425265b /pear/scripts | |
parent | 808dd7dd5f287a6830a64943ffae2b67cac8d937 (diff) | |
download | php-git-d2b830ff4a6dac8174bb3c5235a5d5ec6087453a.tar.gz |
Attempt to make pear.bat work better under Windows
Diffstat (limited to 'pear/scripts')
-rwxr-xr-x | pear/scripts/pear.bat | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/pear/scripts/pear.bat b/pear/scripts/pear.bat index e495634970..248e13af20 100755 --- a/pear/scripts/pear.bat +++ b/pear/scripts/pear.bat @@ -16,16 +16,22 @@ REM ---------------------------------------------------------------------- REM Authors: Alexander Merz (alexmerz@php.net) REM ---------------------------------------------------------------------- REM -REM $Id: pear.bat,v 1.6 2002/04/09 09:28:04 alexmerz Exp $ +REM $Id: pear.bat,v 1.7 2002/04/09 09:59:17 imajes Exp $ -REM change this four lines to match the paths of your system +REM change this lines to match the paths of your system REM ------------------- -set PHP_PATH=c:\php -set PEAR_INSTALL_DIR=c:\php\pear -set PEAR_EXTENSION_DIR=c:\php\extensions -set PEAR_DOC_DIR=c:\php\pear\docs + +REM *** Unused stuff **** +REM set PHP_PATH=c:\php +REM set PEAR_INSTALL_DIR=c:\php\pear +REM set PEAR_EXTENSION_DIR=c:\php\extensions +REM set PEAR_DOC_DIR=c:\php\pear\docs REM ------------------- -set DIRECTORY_SEPARATOR=\ +REM set DIRECTORY_SEPARATOR=\ +REM %PHP_PATH%\php.exe -q %PEAR_INSTALL_DIR%\scripts\pear.in %1 %2 %3 %4 %5 %6 %7 %8 %9 + +set PHP_BIN=c:\php\php.exe +set PEAR_PATH=c:\php\pear -%PHP_PATH%\php.exe -q %PEAR_INSTALL_DIR%\scripts\pear.in %1 %2 %3 %4 %5 %6 %7 %8 %9 -@ECHO ON
\ No newline at end of file +%PHP_BIN% -C -d include_path=%PEAR_PATH% -f %PEAR_PATH%\scripts\pear.in %1 %2 %3 %4 %5 %6 %7 %8 %9 +@ECHO ON |