diff options
author | Antoine Gourlay <antoine@gourlay.fr> | 2013-07-23 15:14:00 +0200 |
---|---|---|
committer | Antoine Gourlay <antoine@gourlay.fr> | 2013-07-23 15:14:00 +0200 |
commit | 2473e6667c0ff82624ce449c46463a567f3c18ba (patch) | |
tree | d3f3b0867141be3a41b9ed9bbcfe6c43e1fc244d | |
parent | fc4b464faeb43c3e2917b11a95c4f84481c443f7 (diff) | |
download | scala-2473e6667c0ff82624ce449c46463a567f3c18ba.tar.gz scala-2473e6667c0ff82624ce449c46463a567f3c18ba.tar.bz2 scala-2473e6667c0ff82624ce449c46463a567f3c18ba.zip |
SI-7687 Handle spaces in %COMSPEC% path in scala.bat.
Double quoted %COMSPEC% to allow for spaces in the path to the
default interpreter (cmd.exe or equivalent).
-rw-r--r-- | src/compiler/scala/tools/ant/templates/tool-windows.tmpl | 2 |
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 bd6cf561b9..a3a95ffd37 100644 --- a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl +++ b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl @@ -89,4 +89,4 @@ goto :eof @@endlocal REM exit code fix, see http://stackoverflow.com/questions/4632891/exiting-batch-with-exit-b-x-where-x-1-acts-as-if-command-completed-successfu -@@%COMSPEC% /C exit %errorlevel% >nul +@@"%COMSPEC%" /C exit %errorlevel% >nul |