author | aspinall |
Fri, 03 Sep 2004 00:35:38 +0200 | |
changeset 15175 | b62f7b493360 |
parent 14981 | e73f8140af78 |
child 15778 | 98af3693f6b3 |
permissions | -rwxr-xr-x |
10555 | 1 |
#!/usr/bin/env bash |
2292 | 2 |
# |
2308 | 3 |
# $Id$ |
9786 | 4 |
# Author: Markus Wenzel, TU Muenchen |
2308 | 5 |
# |
11550
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
10905
diff
changeset
|
6 |
# Smart selection of isabelle-process versus isabelle-interface. |
2292 | 7 |
|
11550
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
10905
diff
changeset
|
8 |
THIS=$(cd "$(dirname "$0")"; pwd) |
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
10905
diff
changeset
|
9 |
NAME="$(basename "$0")" |
2292 | 10 |
|
11566 | 11 |
case "$NAME" in |
12 |
I*) |
|
13 |
PRG=isabelle-interface |
|
14 |
;; |
|
15 |
i*) |
|
16 |
PRG=isabelle-process |
|
17 |
;; |
|
18 |
esac |
|
9786 | 19 |
|
11550
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
10905
diff
changeset
|
20 |
exec "$THIS/$PRG" "$@" |