lib/scripts/getsettings
author wenzelm
Fri, 14 Feb 1997 15:13:32 +0100
changeset 2621 e9e491033b54
parent 2590 363b2c37a1b9
child 2643 a7f469c0ba59
permissions -rw-r--r--
globally unset ENV, BASH_ENV;

#
# $Id$
#
# getsettings - bash source script to augment current env.
#

#value set by caller
export ISABELLE_HOME

set -o allexport

#users tend to put strange things in here
unset ENV
unset BASH_ENV

#get bash-style platform info -- has to work around some tricky features
unset HOSTTYPE
unset OSTYPE
PLATFORM=$(bash -norc -c 'echo $HOSTTYPE-$OSTYPE')

. $ISABELLE_HOME/etc/settings || exit 2
[ -f $ISABELLE_HOME_USER/etc/settings ] && . $ISABELLE_HOME_USER/etc/settings

ISABELLE=$ISABELLE_HOME/bin/isabelle
ISATOOL=$ISABELLE_HOME/bin/isatool
ISABELLE_OUTPUT_DIR="$ISABELLE_OUTPUT/$ML_SYSTEM-$PLATFORM"

set +o allexport