Skip to content

Commit

Permalink
SI-10030 - added quotes in case the path contains a space and an 8.3-…
Browse files Browse the repository at this point in the history
…compliant path is not available
  • Loading branch information
Philippus committed Jan 30, 2017
1 parent b9d4089 commit dc951d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/scala/tools/ant/templates/tool-windows.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit dc951d9

Please sign in to comment.