- 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:
parent
fca405c64f
commit
da871faab8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue