Isabelle
author haftmann
Sat, 10 Sep 2011 10:29:24 +0200
changeset 44860 56101fa00193
parent 43540 71aba8ee3b8f
child 44861 329ced2615eb
permissions -rwxr-xr-x
renamed theory Complete_Lattice to Complete_Lattices, in accordance with Lattices, Orderings etc.

#!/usr/bin/env bash
#
# Author: Makarius
#
# Generic Isabelle application wrapper.

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


## settings

ISABELLE_HOME="$(cd "$(dirname "$0")"; pwd -P)"
source "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2

unset ISABELLE_SETTINGS_PRESENT
unset ISABELLE_SITE_SETTINGS_PRESENT


## main

[ -e "$ISABELLE_HOME/Admin/build" ] && "$ISABELLE_HOME/Admin/build" jars

exec "$ISABELLE_TOOL" java \
  "-Disabelle.home=$(jvmpath "$ISABELLE_HOME")" \
  isabelle.GUI_Setup "$@"