bin/isabelle
author urbanc
Wed, 28 Mar 2007 18:25:23 +0200
changeset 22541 c33b542394f3
parent 15967 f9163c6f69d6
child 28504 7ad7d7d6df47
permissions -rwxr-xr-x
the name for the collection of equivariance lemmas is now eqvts (changed from eqvt) in order to avoid clashes with eqvt-lemmas generated in nominal_inductive

#!/usr/bin/env bash
#
# $Id$
# Author: Markus Wenzel, TU Muenchen
#
# Smart selection of isabelle-process versus isabelle-interface.

if [ -L "$0" ]; then
  TARGET="$(LC_ALL=C ls -l "$0" | sed 's/.* -> //')"
  exec "$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd "$(dirname "$TARGET")"; pwd)/$(basename "$TARGET")" "$@"
fi

THIS=$(cd "$(dirname "$0")"; pwd -P)
NAME="$(basename "$0")"

case "$NAME" in
  I*)
    PRG=isabelle-interface
    ;;
  i*)
    PRG=isabelle-process
    ;;
esac

exec "$THIS/$PRG" "$@"