From 55b91a4680611ad1a98fcb1ad6379d584d035ef8 Mon Sep 17 00:00:00 2001 From: Lex Spoon Date: Mon, 27 Feb 2006 16:34:51 +0000 Subject: - trying again with SCALA_HOME, now using both ... - trying again with SCALA_HOME, now using both with and without - the leading underscore tweaked the error message that comes from - SCALA_HOME not being set on older Windows machines --- src/compiler/scala/tools/ant/templates/tool-windows.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3