summaryrefslogtreecommitdiff
path: root/debian/command-scripts/fsc
diff options
context:
space:
mode:
Diffstat (limited to 'debian/command-scripts/fsc')
-rw-r--r--debian/command-scripts/fsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/command-scripts/fsc b/debian/command-scripts/fsc
index 16e85c62be..3d619854fb 100644
--- a/debian/command-scripts/fsc
+++ b/debian/command-scripts/fsc
@@ -2,6 +2,6 @@
JAVA_DIR=/usr/share/java
SCALAC_CLASSPATH=$JAVA_DIR/scala-library.jar:$JAVA_DIR/scala-compiler.jar
-exec ${JAVACMD:=java} -Xmx256M -Xms16M \
+exec ${JAVACMD:=java} ${JAVA_OPTS:=-Xmx256M -Xms16M} \
-classpath $SCALAC_CLASSPATH -Dscala.boot.class.path=$SCALAC_CLASSPATH \
scala.tools.nsc.CompileClient "$@"