summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2006-02-27 16:34:51 +0000
committerLex Spoon <lex@lexspoon.org>2006-02-27 16:34:51 +0000
commit55b91a4680611ad1a98fcb1ad6379d584d035ef8 (patch)
tree765135eb5c9d4bd988298620347ed8a1385659f1 /src/compiler
parent11e3b59f8f42d27b355ed6cc7b4d391652607d6d (diff)
downloadscala-55b91a4680611ad1a98fcb1ad6379d584d035ef8.tar.gz
scala-55b91a4680611ad1a98fcb1ad6379d584d035ef8.tar.bz2
scala-55b91a4680611ad1a98fcb1ad6379d584d035ef8.zip
- 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
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/ant/templates/tool-windows.tmpl3
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