summaryrefslogtreecommitdiffstats
path: root/multiarch-platform
diff options
context:
space:
mode:
Diffstat (limited to 'multiarch-platform')
-rwxr-xr-xmultiarch-platform6
1 files changed, 5 insertions, 1 deletions
diff --git a/multiarch-platform b/multiarch-platform
index 8cf6038..e9e2da5 100755
--- a/multiarch-platform
+++ b/multiarch-platform
@@ -3,4 +3,8 @@ arch=`uname -m`
case $arch in
i?86) arch=i386;;
esac
-echo multiarch-$arch-linux
+os=`uname -s`
+case $os in
+Linux*) os=linux;;
+esac
+echo multiarch-$arch-$os