author | wenzelm |
Tue, 25 Sep 2001 12:16:49 +0200 | |
changeset 11566 | 94d2d6531c57 |
parent 11550 | 915c5de6480f |
child 14981 | e73f8140af78 |
permissions | -rwxr-xr-x |
10555 | 1 |
#!/usr/bin/env bash |
2292 | 2 |
# |
2308 | 3 |
# $Id$ |
9786 | 4 |
# Author: Markus Wenzel, TU Muenchen |
5 |
# License: GPL (GNU GENERAL PUBLIC LICENSE) |
|
2308 | 6 |
# |
11550
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
10905
diff
changeset
|
7 |
# Smart selection of isabelle-process versus isabelle-interface. |
2292 | 8 |
|
11550
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
10905
diff
changeset
|
9 |
THIS=$(cd "$(dirname "$0")"; pwd) |
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
10905
diff
changeset
|
10 |
NAME="$(basename "$0")" |
2292 | 11 |
|
11566 | 12 |
case "$NAME" in |
13 |
I*) |
|
14 |
PRG=isabelle-interface |
|
15 |
;; |
|
16 |
i*) |
|
17 |
PRG=isabelle-process |
|
18 |
;; |
|
19 |
esac |
|
9786 | 20 |
|
11550
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
10905
diff
changeset
|
21 |
exec "$THIS/$PRG" "$@" |