summaryrefslogblamecommitdiff
path: root/debian/command-scripts/scala
blob: bf24032f07f1b53721fdb8dd2ec0a5fc09f9790d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                       
#!/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:.

exec ${JAVACMD:=java} -Xmx256M -Xms16M \
  -classpath $LIB_CLASSPATH -Dscala.boot.class.path=$SCALAC_CLASSPATH \
 "$@"