Description: Add a wrapper script
Author: Michael Fletcher <zidj@geocities.com>
Author: Charles Briscoe-Smith <cpbs@debian.org>
Author: Colin Watson <cjwatson@debian.org>
Forwarded: no
Last-Update: 2010-03-02

Index: b/jlex
===================================================================
--- /dev/null
+++ b/jlex
@@ -0,0 +1,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
