author | wenzelm |
Thu, 06 Feb 1997 18:27:47 +0100 | |
changeset 2590 | 363b2c37a1b9 |
parent 2478 | adbd622bb375 |
child 2621 | e9e491033b54 |
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 |
|
2590 | 12 |
#get bash-style platform info -- has to work around some tricky features |
13 |
unset HOSTTYPE |
|
14 |
unset OSTYPE |
|
15 |
PLATFORM=$(unset ENV; unset BASH_ENV; bash -norc -c 'echo $HOSTTYPE-$OSTYPE') |
|
16 |
||
2428 | 17 |
. $ISABELLE_HOME/etc/settings || exit 2 |
2299
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
18 |
[ -f $ISABELLE_HOME_USER/etc/settings ] && . $ISABELLE_HOME_USER/etc/settings |
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
19 |
|
2478 | 20 |
ISABELLE=$ISABELLE_HOME/bin/isabelle |
21 |
ISATOOL=$ISABELLE_HOME/bin/isatool |
|
2590 | 22 |
ISABELLE_OUTPUT_DIR="$ISABELLE_OUTPUT/$ML_SYSTEM-$PLATFORM" |
2478 | 23 |
|
2299
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
24 |
set +o allexport |