File: rdp_classifier

package info (click to toggle)
rdp-classifier 2.10.2-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,280 kB
  • sloc: java: 9,679; xml: 1,522; sh: 56; makefile: 31
file content (17 lines) | stat: -rwxr-xr-x 575 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# Note that the JAR MANIFEST points to the locations of the
# required libs on Debian so no setting of Classpath is needed here.
# For the same reason, the JAR you find in this package is not going to be
# happy running outside Debian.

# Actually, I do want to add ~/rdp_classifier/ to the CP if it exists
if [ -e "$HOME/rdp_classifier/data/" ] ; then
    CLASSPATH="$CLASSPATH:$HOME/rdp_classifier/"
    CLASSPATH="${CLASSPATH#:}"
    export CLASSPATH
fi

JAR=/usr/share/rdp-classifier/rdp_classifier.jar

exec java $JAVA_OPTS -Xms512M -Xmx512M -jar "$JAR" "$@"