From 2473e6667c0ff82624ce449c46463a567f3c18ba Mon Sep 17 00:00:00 2001 From: Antoine Gourlay Date: Tue, 23 Jul 2013 15:14:00 +0200 Subject: 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). --- src/compiler/scala/tools/ant/templates/tool-windows.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler') 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 -- cgit v1.2.3