clarified situation about unidentified repository versions -- in a distributed setting there is not "the" repository;
#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: Proof General / Emacs interface wrapper
## diagnostics
function fail()
{
echo "$1" >&2
exit 2
}
## main
[ -z "$PROOFGENERAL_HOME" ] && fail "Missing Proof General installation (PROOFGENERAL_HOME)"
INTERFACE="$PROOFGENERAL_HOME/isar/interface"
[ ! -x "$INTERFACE" ] && fail "Bad interface script: \"$INTERFACE\""
exec "$INTERFACE" "$@"