Permalink
Browse files

Stick in some quotes, in case of JAVA_HOME being a path with spaces

  • Loading branch information...
1 parent f118568 commit 5ec3fd73177966949b7279fd8ad5e21d0e76ebe5 @dimbleby dimbleby committed Feb 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 build.bat
View
@@ -14,7 +14,7 @@ set LIBS=%LIB%\ant.jar;%LIB%\ant-junit.jar;%LIB%\ant-launcher.jar;%LIB%\junit.ja
REM echo LIBS=%LIBS%
set CP=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\jre\lib\rt.jar;%CLASSPATH%;%LIBS%
-%JAVA_HOME%\bin\java -classpath "%CP%" org.apache.tools.ant.Main -buildfile build.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
+"%JAVA_HOME%\bin\java" -classpath "%CP%" org.apache.tools.ant.Main -buildfile build.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endOfFile

0 comments on commit 5ec3fd7

Please sign in to comment.