lib/scripts/getplatform
author paulson
Fri, 31 Jan 1997 17:51:42 +0100
changeset 2576 390c9fb786b5
parent 2561 8ef656dbf4fa
permissions -rw-r--r--
Declaration of ccontr (classical contradiction) for HOL compatibility

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

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