From 69eb30cae4f4c8d086fab09bbf78922da6ca5e42 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 28 Dec 2016 10:23:32 +1300 Subject: Put operating system into OS env var --- sh/profile.d/os.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sh/profile.d/os.sh (limited to 'sh/profile.d/os.sh') diff --git a/sh/profile.d/os.sh b/sh/profile.d/os.sh new file mode 100644 index 00000000..f9d5a79b --- /dev/null +++ b/sh/profile.d/os.sh @@ -0,0 +1,3 @@ +# Store the operating system in an environment variable +OS=$(uname) +export OS -- cgit v1.2.3