Blame scala-2.10.0-tooltemplate.patch
|
Jochen Schmitt |
cae607c |
diff -up scala-2.10.0-RC3/src/compiler/scala/tools/ant/templates/tool-unix.tmpl.tool scala-2.10.0-RC3/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
|
|
Jochen Schmitt |
cae607c |
--- scala-2.10.0-RC3/src/compiler/scala/tools/ant/templates/tool-unix.tmpl.tool 2012-11-21 17:01:54.000000000 +0100
|
|
Jochen Schmitt |
cae607c |
+++ scala-2.10.0-RC3/src/compiler/scala/tools/ant/templates/tool-unix.tmpl 2012-11-25 14:55:22.583111734 +0100
|
|
Jochen Schmitt |
cae607c |
@@ -68,7 +68,16 @@ if uname | grep -q ^MINGW; then
|
|
Jochen Schmitt |
cae607c |
fi
|
|
Jochen Schmitt |
cae607c |
|
|
Jochen Schmitt |
cae607c |
# Finding the root folder for this Scala distribution
|
|
Jochen Schmitt |
cae607c |
-SCALA_HOME="$(findScalaHome)"
|
|
Jochen Schmitt |
cae607c |
+export JAVA_HOMe=/usr/share/jvm/java
|
|
Jochen Schmitt |
cae607c |
+
|
|
Jochen Schmitt |
f0438a2 |
+[ -r @@JAVADIR@@-utils/java-functions ] && . @@JAVADIR@@-utils/java-functions || exit 1
|
|
Jochen Schmitt |
cae607c |
+
|
|
Jochen Schmitt |
cae607c |
+set_javacmd || exit 3
|
|
Jochen Schmitt |
f0438a2 |
+check_java_env || exit 4
|
|
Jochen Schmitt |
cae607c |
+set_jvm_dirs || exit 5
|
|
Jochen Schmitt |
cae607c |
+
|
|
Jochen Schmitt |
f0438a2 |
+export SCALA_HOME=@@DATADIR@@/scala
|
|
Jochen Schmitt |
cae607c |
+
|
|
Jochen Schmitt |
cae607c |
SEP=":"
|
|
Jochen Schmitt |
cae607c |
|
|
Jochen Schmitt |
cae607c |
# Possible additional command line options
|