bin/isabelle
author kleing
Fri, 22 Apr 2005 02:03:52 +0200
changeset 15810 2c119fed01f0
parent 15784 3a214de33d53
child 15843 d5bd4a18ce70
permissions -rwxr-xr-x
howto for changing web pages, simplified makefile access

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

THIS="$0"
while [ -L "$THIS" ]; do
    THIS="$(dirname "$THIS")/$(LC_ALL=C ls -l "$THIS" | sed 's/.* -> //')"
done
THIS="$(cd "$(dirname "$THIS")"; pwd)"
NAME="$(basename "$0")"

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

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