lib/Tools/scala
changeset 37174 6feaab4fc27d
parent 34297 5c0a2583f997
child 41622 ad5474a8374b
     1.1 --- a/lib/Tools/scala	Fri May 28 18:15:53 2010 +0200
     1.2 +++ b/lib/Tools/scala	Fri May 28 20:41:23 2010 +0200
     1.3 @@ -4,7 +4,9 @@
     1.4  #
     1.5  # DESCRIPTION: invoke Scala within the Isabelle environment
     1.6  
     1.7 +[ -z "$SCALA_HOME" ] && { echo "Unknown SCALA_HOME -- Scala unavailable"; exit 2; }
     1.8 +
     1.9  [ -e "$ISABELLE_HOME/Admin/build" ] && { "$ISABELLE_HOME/Admin/build" jars || exit $?; }
    1.10  
    1.11  CLASSPATH="$(jvmpath "$CLASSPATH")"
    1.12 -exec "$ISABELLE_SCALA" "$@"
    1.13 +exec "$SCALA_HOME/bin/scala" "$@"