geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1296058 - /geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/windows-text/bin/setjavaenv.bat
Date Fri, 02 Mar 2012 05:51:54 GMT
Author: xiaming
Date: Fri Mar  2 05:51:53 2012
New Revision: 1296058

URL: http://svn.apache.org/viewvc?rev=1296058&view=rev
Log:
GERONIMO-6291 Remove the quotes when setting JRE_HOME, provided by Saphen Qiu

Modified:
    geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/windows-text/bin/setjavaenv.bat

Modified: geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/windows-text/bin/setjavaenv.bat
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/windows-text/bin/setjavaenv.bat?rev=1296058&r1=1296057&r2=1296058&view=diff
==============================================================================
--- geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/windows-text/bin/setjavaenv.bat
(original)
+++ geronimo/server/branches/3.0-beta/framework/configs/karaf-framework/src/main/distribution/windows-text/bin/setjavaenv.bat
Fri Mar  2 05:51:53 2012
@@ -124,7 +124,7 @@ goto end
 
 :okJdkFileCheck
 @REM default JRE_HOME to JAVA_HOME if not set.
-if "%JRE_HOME%" == "" if exist "%JAVA_HOME%\bin\javac.exe" (set JRE_HOME="%JAVA_HOME%\jre")
else set JRE_HOME=%JAVA_HOME%
+if "%JRE_HOME%" == "" if exist "%JAVA_HOME%\bin\javac.exe" (set JRE_HOME=%JAVA_HOME%\jre)
else set JRE_HOME=%JAVA_HOME%
 
 @REM Set standard command for invoking Java.
 @REM Note that NT requires a window name argument when using start.



Mime
View raw message