lib/scripts/getplatform
author wenzelm
Mon, 16 Dec 1996 10:29:30 +0100
changeset 2411 256dbda3df4f
parent 2346 c0165f34e987
child 2561 8ef656dbf4fa
permissions -rw-r--r--
SML/NJ startup script (for 0.93).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2346
c0165f34e987 getplatform - bash source script to augment current env;
wenzelm
parents:
diff changeset
     1
#
c0165f34e987 getplatform - bash source script to augment current env;
wenzelm
parents:
diff changeset
     2
# $Id$
c0165f34e987 getplatform - bash source script to augment current env;
wenzelm
parents:
diff changeset
     3
#
c0165f34e987 getplatform - bash source script to augment current env;
wenzelm
parents:
diff changeset
     4
# getplatform - bash source script to augment current env.
c0165f34e987 getplatform - bash source script to augment current env;
wenzelm
parents:
diff changeset
     5
#
c0165f34e987 getplatform - bash source script to augment current env;
wenzelm
parents:
diff changeset
     6
c0165f34e987 getplatform - bash source script to augment current env;
wenzelm
parents:
diff changeset
     7
#get bash-style platform info
c0165f34e987 getplatform - bash source script to augment current env;
wenzelm
parents:
diff changeset
     8
unset HOSTTYPE
c0165f34e987 getplatform - bash source script to augment current env;
wenzelm
parents:
diff changeset
     9
unset OSTYPE
c0165f34e987 getplatform - bash source script to augment current env;
wenzelm
parents:
diff changeset
    10
PLATFORM=$(bash -norc -c 'echo $HOSTTYPE-$OSTYPE')