author | wenzelm |
Wed, 09 Mar 2016 19:30:09 +0100 | |
changeset 62573 | 27f90319a499 |
parent 62542 | b27b7c2200b9 |
child 62586 | a522a5692832 |
permissions | -rwxr-xr-x |
11550
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
diff
changeset
|
1 |
#!/usr/bin/env bash |
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
diff
changeset
|
2 |
# |
62475
43e64c770f28
isabelle_process executable no longer supports writable heap images;
wenzelm
parents:
61319
diff
changeset
|
3 |
# Author: Makarius |
11550
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
diff
changeset
|
4 |
# |
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
diff
changeset
|
5 |
# Isabelle process startup script. |
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
diff
changeset
|
6 |
|
15843 | 7 |
if [ -L "$0" ]; then |
8 |
TARGET="$(LC_ALL=C ls -l "$0" | sed 's/.* -> //')" |
|
15967 | 9 |
exec "$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd "$(dirname "$TARGET")"; pwd)/$(basename "$TARGET")" "$@" |
15843 | 10 |
fi |
11 |
||
15967 | 12 |
ISABELLE_HOME="$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd ..; pwd)" |
13 |
source "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2 |
|
11550
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
diff
changeset
|
14 |
|
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
diff
changeset
|
15 |
|
62573 | 16 |
isabelle_admin_build jars || exit $? |
11550
915c5de6480f
smart selection of isabelle-process versus isabelle-interface;
wenzelm
parents:
diff
changeset
|
17 |
|
62573 | 18 |
"$ISABELLE_TOOL" java isabelle.Isabelle_Process "$@" |