Browse files

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).
  • Loading branch information...
gourlaysama committed Jul 23, 2013
1 parent fc4b464 commit 2473e6667c0ff82624ce449c46463a567f3c18ba
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/compiler/scala/tools/ant/templates/tool-windows.tmpl
@@ -89,4 +89,4 @@ goto :eof
REM exit code fix, see
-@@%COMSPEC% /C exit %errorlevel% >nul
+@@"%COMSPEC%" /C exit %errorlevel% >nul

0 comments on commit 2473e66

Please sign in to comment.