diff options
-rw-r--r-- | src/compiler/scala/tools/ant/templates/generic-windows.tmpl | 2 | ||||
-rw-r--r-- | src/compiler/scala/tools/ant/templates/tool-windows.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/ant/templates/generic-windows.tmpl b/src/compiler/scala/tools/ant/templates/generic-windows.tmpl index 10f3fbd5c2..0f785b6b6e 100644 --- a/src/compiler/scala/tools/ant/templates/generic-windows.tmpl +++ b/src/compiler/scala/tools/ant/templates/generic-windows.tmpl @@ -14,7 +14,7 @@ rem - Local batch variables start with a '_' if "%OS%"=="Windows_NT" ( @@setlocal - set _SCALA_HOME=%~dp0.. + set _SCALA_HOME=%~dps0.. ) else ( set _SCALA_HOME=%SCALA_HOME% if "%_SCALA_HOME%"=="" goto error1 diff --git a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl index e85693d5d9..45c1b28971 100644 --- a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl +++ b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl @@ -14,7 +14,7 @@ rem - Local batch variables start with a '_' if "%OS%"=="Windows_NT" ( @@setlocal - set _SCALA_HOME=%~dp0.. + set _SCALA_HOME=%~dps0.. ) else ( set _SCALA_HOME=%SCALA_HOME% if "%_SCALA_HOME%"=="" goto error1 |