geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r666718 - /geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/setjavaenv.bat
Date Wed, 11 Jun 2008 15:55:38 GMT
Author: dwoods
Date: Wed Jun 11 08:55:38 2008
New Revision: 666718

URL: http://svn.apache.org/viewvc?rev=666718&view=rev
Log:
GERONIMO-4093 fix error/typo.  Jarek, thanks for pointing it out.

Modified:
    geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/setjavaenv.bat

Modified: geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/setjavaenv.bat
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/setjavaenv.bat?rev=666718&r1=666717&r2=666718&view=diff
==============================================================================
--- geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/setjavaenv.bat
(original)
+++ geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/setjavaenv.bat
Wed Jun 11 08:55:38 2008
@@ -40,7 +40,7 @@
 @if "%GERONIMO_BATCH_ECHO%" == "on"  echo on
 @if not "%GERONIMO_BATCH_ECHO%" == "on"  echo off
 
-@REM handle spaces in provided paths
+@REM Handle spaces in provided paths.  Also strips off quotes.
 if defined var JAVA_HOME(
 set JAVA_HOME=###%JAVA_HOME%###
 set JAVA_HOME=%JAVA_HOME:"###=%
@@ -48,10 +48,10 @@
 set JAVA_HOME=%JAVA_HOME:###=%
 @)
 if defined var JRE_HOME(
-set JAVA_HOME=###%JRE_HOME%###
-set JAVA_HOME=%JRE_HOME:"###=%
-set JAVA_HOME=%JRE_HOME:###"=%
-set JAVA_HOME=%JRE_HOME:###=%
+set JRE_HOME=###%JRE_HOME%###
+set JRE_HOME=%JRE_HOME:"###=%
+set JRE_HOME=%JRE_HOME:###"=%
+set JRE_HOME=%JRE_HOME:###=%
 @)
 
 @REM check that either JAVA_HOME or JRE_HOME are set



Mime
View raw message