You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/05/12 06:50:38 UTC
cvs commit: maven/src/bin maven.bat
brett 2004/05/11 21:50:38
Modified: src/bin Tag: MAVEN-1_0-BRANCH maven.bat
Log:
allow spaces in JAVA_HOME
Revision Changes Path
No revision
No revision
1.38.4.4 +1 -1 maven/src/bin/maven.bat
Index: maven.bat
===================================================================
RCS file: /home/cvs/maven/src/bin/maven.bat,v
retrieving revision 1.38.4.3
retrieving revision 1.38.4.4
diff -u -r1.38.4.3 -r1.38.4.4
--- maven.bat 4 Mar 2004 17:47:31 -0000 1.38.4.3
+++ maven.bat 12 May 2004 04:50:38 -0000 1.38.4.4
@@ -53,7 +53,7 @@
goto end
:OkJHome
-if exist %JAVA_HOME%\nul goto chkMHome
+if exist "%JAVA_HOME%\bin\java.exe" goto chkMHome
echo.
echo ERROR: JAVA_HOME is set to an invalid directory.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org