author | wenzelm |
Tue, 16 Sep 2008 17:18:41 +0200 | |
changeset 28251 | 679ce6137211 |
child 28509 | 0ef08aa52f2e |
permissions | -rwxr-xr-x |
28251 | 1 |
#!/usr/bin/env bash |
2 |
# |
|
3 |
# $Id$ |
|
4 |
# Author: Makarius |
|
5 |
# |
|
6 |
# DESCRIPTION: Proof General / Emacs interface wrapper |
|
7 |
||
8 |
||
9 |
## diagnostics |
|
10 |
||
11 |
function fail() |
|
12 |
{ |
|
13 |
echo "$1" >&2 |
|
14 |
exit 2 |
|
15 |
} |
|
16 |
||
17 |
||
18 |
## main |
|
19 |
||
20 |
INTERFACE="$PROOFGENERAL_HOME/isar/interface" |
|
21 |
[ ! -x "$INTERFACE" ] && fail "Bad interface script: \"$INTERFACE\"" |
|
22 |
||
23 |
exec "$INTERFACE" "$@" |