File: jlex

package info (click to toggle)
jlex 1.2.6-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 444 kB
  • sloc: java: 5,554; sh: 8; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -e

# Check if JLex will work at all
if test -e /usr/share/java/JLex.jar; then

  # Set up classpath
  CLASSPATH="/usr/share/java/JLex.jar:$CLASSPATH"
  export CLASSPATH

  exec java JLex.Main "$@"

else
  echo "JLex is not installed"
  exit 5
fi