From d2b830ff4a6dac8174bb3c5235a5d5ec6087453a Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Wed, 12 Jun 2002 16:31:53 +0000 Subject: [PATCH] Attempt to make pear.bat work better under Windows --- pear/scripts/pear.bat | 24 +++++++++++++++--------- 1 file 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 -- 2.40.0