author | haftmann |
Sun, 21 Jun 2009 08:38:57 +0200 | |
changeset 31735 | a00292a5587d |
parent 29143 | 72c960b2b83e |
permissions | -rwxr-xr-x |
#!/usr/bin/env bash # # Author: Makarius # # DESCRIPTION: Isabelle/jEdit interface wrapper ## diagnostics function fail() { echo "$1" >&2 exit 2 } ## main [ -z "$JEDIT_HOME" ] && fail "Missing Isabelle/jEdit installation (JEDIT_HOME)" INTERFACE="$JEDIT_HOME/interface" [ ! -x "$INTERFACE" ] && fail "Bad interface script: \"$INTERFACE\"" exec "$INTERFACE" "$@"