diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-04-18 14:19:55 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-04-18 14:19:55 +0000 |
commit | 2b00a2580c15575378ee65a6894d6803bc4d3061 (patch) | |
tree | 035673aea32f610f1fa1c13886e6c05585902482 /debian/command-scripts/fsc | |
parent | a7da970fa8df1a2ef304c5228ba1c6294ca5ebe6 (diff) | |
download | scala-2b00a2580c15575378ee65a6894d6803bc4d3061.tar.gz scala-2b00a2580c15575378ee65a6894d6803bc4d3061.tar.bz2 scala-2b00a2580c15575378ee65a6894d6803bc4d3061.zip |
Added the JAVA_OPTS variable, so that java opti...
Added the JAVA_OPTS variable, so that java options can be specified
without changing JAVACMD.
Diffstat (limited to 'debian/command-scripts/fsc')
-rw-r--r-- | debian/command-scripts/fsc | 2 |
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 "$@" |