summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-06-21 04:29:03 +0000
committerPaul Phillips <paulp@improving.org>2011-06-21 04:29:03 +0000
commitcf85a61beb205aea4f177ef569e6d219c667c894 (patch)
tree76e5ddbe2ea62faccc0382a088868ced16e844b4
parentbb0e6e910244c9f434871742873aee2ed94ccaa8 (diff)
downloadscala-cf85a61beb205aea4f177ef569e6d219c667c894.tar.gz
scala-cf85a61beb205aea4f177ef569e6d219c667c894.tar.bz2
scala-cf85a61beb205aea4f177ef569e6d219c667c894.zip
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.
-rw-r--r--src/compiler/scala/tools/ant/templates/tool-windows.tmpl2
1 files changed, 1 insertions, 1 deletions
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"
)
)