cvs: php4 /pear/scripts pear.bat
| From: | Tomas V.V.Cox | Date: | Wed, 12 Jun 2002 16:31:53 +0000 |
| Subject: | cvs: php4 /pear/scripts pear.bat | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4582@lists.php.net to get a copy of this message | ||
cox Wed Jun 12 12:31:53 2002 EDT
Modified files:
/php4/pear/scripts pear.bat
Log:
Attempt to make pear.bat work better under Windows
Index: php4/pear/scripts/pear.bat
diff -u php4/pear/scripts/pear.bat:1.7 php4/pear/scripts/pear.bat:1.8
--- php4/pear/scripts/pear.bat:1.7 Tue Apr 9 05:59:17 2002
+++ php4/pear/scripts/pear.bat Wed Jun 12 12:31:53 2002
@@ -16,16 +16,22 @@
REM Authors: Alexander Merz (alexmerz@php.net)
REM ----------------------------------------------------------------------
REM
-REM $Id: pear.bat,v 1.7 2002/04/09 09:59:17 imajes Exp $
+REM $Id: pear.bat,v 1.8 2002/06/12 16:31:53 cox 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