diff options
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/command-scripts/scala | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/debian/command-scripts/scala b/debian/command-scripts/scala index bf24032f07..05ad2a62a7 100755 --- a/debian/command-scripts/scala +++ b/debian/command-scripts/scala @@ -1,11 +1,9 @@ #!/bin/sh -#XXX this script is not as smart about classpaths as it should be. -# In particular, "scala -cp build" does not do the right -# thing. JAVA_DIR=/usr/share/java -LIB_CLASSPATH=$JAVA_DIR/scala-library.jar:. +LIB_CLASSPATH=$JAVA_DIR/scala-library.jar:$JAVA_DIR/scala-compiler.jar exec ${JAVACMD:=java} -Xmx256M -Xms16M \ -classpath $LIB_CLASSPATH -Dscala.boot.class.path=$SCALAC_CLASSPATH \ - "$@" + scala.tools.nsc.MainGenericRunner \ + "$@" |