author | wenzelm |
Mon, 17 Feb 1997 12:00:00 +0100 | |
changeset 2643 | a7f469c0ba59 |
parent 2621 | e9e491033b54 |
child 2736 | 476adc742599 |
permissions | -rw-r--r-- |
2307 | 1 |
# |
2 |
# $Id$ |
|
2299
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
3 |
# |
2348 | 4 |
# getsettings - bash source script to augment current env. |
2299
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
5 |
# |
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
6 |
|
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
7 |
#value set by caller |
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
8 |
export ISABELLE_HOME |
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
9 |
|
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
10 |
set -o allexport |
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
11 |
|
2643 | 12 |
#users tend to put strange things in here ... |
2621 | 13 |
unset ENV |
14 |
unset BASH_ENV |
|
15 |
||
2590 | 16 |
#get bash-style platform info -- has to work around some tricky features |
17 |
unset HOSTTYPE |
|
18 |
unset OSTYPE |
|
2621 | 19 |
PLATFORM=$(bash -norc -c 'echo $HOSTTYPE-$OSTYPE') |
2590 | 20 |
|
2643 | 21 |
#get actual settings |
2428 | 22 |
. $ISABELLE_HOME/etc/settings || exit 2 |
2299
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
23 |
[ -f $ISABELLE_HOME_USER/etc/settings ] && . $ISABELLE_HOME_USER/etc/settings |
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
24 |
|
2478 | 25 |
ISABELLE=$ISABELLE_HOME/bin/isabelle |
26 |
ISATOOL=$ISABELLE_HOME/bin/isatool |
|
2590 | 27 |
ISABELLE_OUTPUT_DIR="$ISABELLE_OUTPUT/$ML_SYSTEM-$PLATFORM" |
2478 | 28 |
|
2299
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
29 |
set +o allexport |