From dc951d996c79df3ca99752a0f8ad6b4eb8f50a86 Mon Sep 17 00:00:00 2001 From: Philippus Baalman Date: Mon, 30 Jan 2017 22:36:32 +0100 Subject: SI-10030 - added quotes in case the path contains a space and an 8.3-compliant path is not available --- src/compiler/scala/tools/ant/templates/tool-windows.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl index 50e44fb669..338f2f1375 100644 --- a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl +++ b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl @@ -156,7 +156,7 @@ rem (see http://support.microsoft.com/?kbid=833431) rem set _SCALA_HOME=%~dps0.. :set_home set _BIN_DIR= - for %%i in (%~sf0) do set _BIN_DIR=%_BIN_DIR%%%~dpsi + for %%i in ("%~sf0") do set _BIN_DIR=%_BIN_DIR%%%~dpsi set _SCALA_HOME=%_BIN_DIR%.. goto :eof -- cgit v1.2.3