#! /bin/bash # # change to installation directory # bin=$0 if [ -L $bin ]; then bin=`dirname $bin`/`readlink $bin` fi DIR=`dirname $bin` if [ "$JAVA_BIN" == "" ]; then if [ "$JAVA_HOME" != "" ]; then JAVA_BIN="$JAVA_HOME/bin/java" else JAVA_BIN="java" fi fi $JAVA_BIN -jar ${DIR}/restrictionchecker.jar "$@"