Skip to content

Commit 7311a29

Browse files
authored
Merge pull request scala#5666 from Philippus/issue/10030
SI-10030 - added quotes in case the path contains a space and an 8.3-…
2 parents e7ed71b + dc951d9 commit 7311a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/scala/tools/ant/templates/tool-windows.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ rem (see http://support.microsoft.com/?kbid=833431)
156156
rem set _SCALA_HOME=%~dps0..
157157
:set_home
158158
set _BIN_DIR=
159-
for %%i in (%~sf0) do set _BIN_DIR=%_BIN_DIR%%%~dpsi
159+
for %%i in ("%~sf0") do set _BIN_DIR=%_BIN_DIR%%%~dpsi
160160
set _SCALA_HOME=%_BIN_DIR%..
161161
goto :eof
162162

0 commit comments

Comments
 (0)