getplatform - bash source script to augment current env;
authorwenzelm
Mon, 09 Dec 1996 16:39:53 +0100
changeset 2346 c0165f34e987
parent 2345 8e45991e3601
child 2347 a42c1b835fb3
getplatform - bash source script to augment current env;
lib/scripts/getplatform
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/scripts/getplatform	Mon Dec 09 16:39:53 1996 +0100
@@ -0,0 +1,10 @@
+#
+# $Id$
+#
+# getplatform - bash source script to augment current env.
+#
+
+#get bash-style platform info
+unset HOSTTYPE
+unset OSTYPE
+PLATFORM=$(bash -norc -c 'echo $HOSTTYPE-$OSTYPE')