aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile.d')
-rw-r--r--sh/profile.d/os.sh3
1 files changed, 3 insertions, 0 deletions
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