summaryrefslogtreecommitdiffstats
path: root/multiarch-platform
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-01-25 13:11:28 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-01-25 13:11:28 +0000
commit2392ec65df730b4db690b7963891533b93103698 (patch)
tree7294c4ee49eb672379878de94a72e087f2423dd1 /multiarch-platform
parentaf7b4c580675334a8c29b079a4db3a9734b8f714 (diff)
downloadmultiarch-utils-2392ec65df730b4db690b7963891533b93103698.tar
multiarch-utils-2392ec65df730b4db690b7963891533b93103698.tar.gz
multiarch-utils-2392ec65df730b4db690b7963891533b93103698.tar.bz2
multiarch-utils-2392ec65df730b4db690b7963891533b93103698.tar.xz
multiarch-utils-2392ec65df730b4db690b7963891533b93103698.zip
%multiarch_{bin,include}dir aliases, better OS independence
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