From 32b7c5d813b6401d0e18ffa5eb07b3de0de0b3ad Mon Sep 17 00:00:00 2001 From: Matteo Beccati Date: Thu, 12 Aug 2010 09:26:18 +0200 Subject: [PATCH] Fixed .bat files to correctly set environment variables without double quotes --- dbunit.bat | 6 +++--- phpunit.bat | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dbunit.bat b/dbunit.bat index 70da6b5e872..02a70f9c3c8 100644 --- a/dbunit.bat +++ b/dbunit.bat @@ -34,10 +34,10 @@ REM ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE REM POSSIBILITY OF SUCH DAMAGE. REM -if "%PHPBIN%" == "" set PHPBIN="@php_bin@" +if "%PHPBIN%" == "" set PHPBIN=@php_bin@ if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH GOTO RUN :USE_PEAR_PATH -set PHPBIN="%PHP_PEAR_PHP_BIN%" +set PHPBIN=%PHP_PEAR_PHP_BIN% :RUN -%PHPBIN% "@bin_dir@\dbunit" %* +"%PHPBIN%" "@bin_dir@\dbunit" %* diff --git a/phpunit.bat b/phpunit.bat index bd70a3dc1f6..29208ec8eb1 100644 --- a/phpunit.bat +++ b/phpunit.bat @@ -34,10 +34,10 @@ REM ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE REM POSSIBILITY OF SUCH DAMAGE. REM -if "%PHPBIN%" == "" set PHPBIN="@php_bin@" +if "%PHPBIN%" == "" set PHPBIN=@php_bin@ if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH GOTO RUN :USE_PEAR_PATH -set PHPBIN="%PHP_PEAR_PHP_BIN%" +set PHPBIN=%PHP_PEAR_PHP_BIN% :RUN -%PHPBIN% "@bin_dir@\phpunit" %* +"%PHPBIN%" "@bin_dir@\phpunit" %*