From cf85a61beb205aea4f177ef569e6d219c667c894 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 21 Jun 2011 04:29:03 +0000 Subject: Quoted the windows runner path so "c:\program f... Quoted the windows runner path so "c:\program files (x86)" has some chance of working. Closes #4636, no review. --- src/compiler/scala/tools/ant/templates/tool-windows.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl index 0b1757914a..e88a9730e8 100644 --- a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl +++ b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl @@ -21,7 +21,7 @@ set _JAVACMD=%JAVACMD% if "%_JAVACMD%"=="" ( if not "%JAVA_HOME%"=="" ( - if exist "%JAVA_HOME%\bin\java.exe" set _JAVACMD=%JAVA_HOME%\bin\java.exe + if exist "%JAVA_HOME%\bin\java.exe" set "_JAVACMD=%JAVA_HOME%\bin\java.exe" ) ) -- cgit v1.2.3