]> granicus.if.org Git - php/commitdiff
Attempt to make pear.bat work better under Windows
authorTomas V.V.Cox <cox@php.net>
Wed, 12 Jun 2002 16:31:53 +0000 (16:31 +0000)
committerTomas V.V.Cox <cox@php.net>
Wed, 12 Jun 2002 16:31:53 +0000 (16:31 +0000)
pear/scripts/pear.bat

index e495634970d8f19eb3c6b854817645ef0df674ab..248e13af20533a856a581d9ff9930f7267c101b3 100755 (executable)
@@ -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