- 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

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@5862 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
spoon 2006-02-27 16:34:51 +00:00
parent fca405c64f
commit da871faab8
1 changed files with 2 additions and 1 deletions

View File

@ -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