diff options
Diffstat (limited to 'src/compiler/scala/tools/ant/templates/tool-windows.tmpl')
-rw-r--r-- | src/compiler/scala/tools/ant/templates/tool-windows.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl index 679fa028eb..5c204bb49b 100644 --- a/src/compiler/scala/tools/ant/templates/tool-windows.tmpl +++ b/src/compiler/scala/tools/ant/templates/tool-windows.tmpl @@ -14,6 +14,7 @@ if "%OS%"=="Windows_NT" ( ) else ( if "%SCALA_HOME%"=="" goto error1 ) +set _SCALA_HOME=%SCALA_HOME% set _JAVACMD=%JAVACMD% if "%_JAVACMD%"=="" set _JAVACMD=java @@ -58,7 +59,7 @@ rem ########################################################################## rem # errors :error1 -echo ERROR: environment variable SCALA_HOME is undefined. It should point to the directory containing the file "VERSION-@version@". +echo ERROR: environment variable SCALA_HOME is undefined. It should point to your sbaz directory. goto end :end |