#!/usr/bin/env bash
#
# $Id: isabelle,v 1.37.2.1 2004/06/08 00:29:49 kleing Exp $
# Author: Markus Wenzel, TU Muenchen
#
# Smart selection of isabelle-process versus isabelle-interface.

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

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

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