author | wenzelm |
Tue, 06 May 1997 15:27:35 +0200 | |
changeset 3118 | 24dae6222579 |
parent 2968 | 8ba30b031f31 |
child 3185 | 7a6c933d51d0 |
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 |
|
2736 | 7 |
#normalize ISABELLE_HOME as passed by caller |
2299
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
8 |
export ISABELLE_HOME |
2736 | 9 |
ISABELLE_HOME=$(cd $ISABELLE_HOME; echo $PWD) |
10 |
||
2299
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
11 |
|
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
12 |
set -o allexport |
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
13 |
|
2643 | 14 |
#users tend to put strange things in here ... |
2621 | 15 |
unset ENV |
16 |
unset BASH_ENV |
|
17 |
||
2643 | 18 |
#get actual settings |
2428 | 19 |
. $ISABELLE_HOME/etc/settings || exit 2 |
2299
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
20 |
[ -f $ISABELLE_HOME_USER/etc/settings ] && . $ISABELLE_HOME_USER/etc/settings |
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
21 |
|
2736 | 22 |
#derived values |
2478 | 23 |
ISABELLE=$ISABELLE_HOME/bin/isabelle |
24 |
ISATOOL=$ISABELLE_HOME/bin/isatool |
|
25 |
||
3118 | 26 |
#append ML system to paths |
27 |
ISABELLE_OUTPUT="$ISABELLE_OUTPUT/$ML_SYSTEM" |
|
28 |
ISABELLE_PATH=$(for DIR in $(echo $ISABELLE_PATH | tr : " "); do echo $DIR/$ML_SYSTEM; done) |
|
29 |
ISABELLE_PATH=$(echo $ISABELLE_PATH | tr " " :) |
|
30 |
||
2299
ed9720047d53
getsettings: bash source script to augment current env.
wenzelm
parents:
diff
changeset
|
31 |
set +o allexport |