summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-01-12 17:26:14 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2005-01-12 17:26:14 +0000
commit218e32960ca5878b77da357738fb48d8edf89aa6 (patch)
tree8902586fbad28b07e5174726ca5104360966a198
parentce5c270d5bce8ef9b9ff280338d577483bff03da (diff)
downloadmultiarch-utils-218e32960ca5878b77da357738fb48d8edf89aa6.tar
multiarch-utils-218e32960ca5878b77da357738fb48d8edf89aa6.tar.gz
multiarch-utils-218e32960ca5878b77da357738fb48d8edf89aa6.tar.bz2
multiarch-utils-218e32960ca5878b77da357738fb48d8edf89aa6.tar.xz
multiarch-utils-218e32960ca5878b77da357738fb48d8edf89aa6.zip
multiarch-platform for base dir name selection
-rwxr-xr-xmultiarch-platform6
1 files changed, 6 insertions, 0 deletions
diff --git a/multiarch-platform b/multiarch-platform
new file mode 100755
index 0000000..8cf6038
--- /dev/null
+++ b/multiarch-platform
@@ -0,0 +1,6 @@
+#!/bin/sh
+arch=`uname -m`
+case $arch in
+i?86) arch=i386;;
+esac
+echo multiarch-$arch-linux