bin/isabelle_scala_script
author desharna
Thu, 13 Oct 2022 17:22:34 +0200
changeset 76285 8e777e0e206a
parent 73705 ac07f6be27ea
permissions -rwxr-xr-x
added lemmas linorder.totalp_ge[simp], linorder.totalp_greater[simp], linorder.totalp_le[simp], and linorder.totalp_less[simp]

#!/usr/bin/env bash
#
# Author: Makarius
#
# Isabelle/Scala script wrapper.

unset CDPATH

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

PRG="$(basename "$0")"

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


## main

exec "$ISABELLE_TOOL" scala -howtorun:script -nocompdaemon "$@"