diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/command-scripts/fsc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/command-scripts/fsc b/debian/command-scripts/fsc new file mode 100644 index 0000000000..16e85c62be --- /dev/null +++ b/debian/command-scripts/fsc @@ -0,0 +1,7 @@ +#!/bin/sh +JAVA_DIR=/usr/share/java +SCALAC_CLASSPATH=$JAVA_DIR/scala-library.jar:$JAVA_DIR/scala-compiler.jar + +exec ${JAVACMD:=java} -Xmx256M -Xms16M \ + -classpath $SCALAC_CLASSPATH -Dscala.boot.class.path=$SCALAC_CLASSPATH \ + scala.tools.nsc.CompileClient "$@" |