lib/scripts/getplatform
author wenzelm
Tue, 28 Jan 1997 16:21:15 +0100
changeset 2561 8ef656dbf4fa
parent 2346 c0165f34e987
permissions -rw-r--r--
fixed problems with strange user .bashrc etc. (stty, ...);

#
# $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')