File: jlex

package info (click to toggle)
jlex 1.2.6-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 440 kB
  • ctags: 443
  • sloc: java: 5,554; sh: 8; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (5)
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