summaryrefslogtreecommitdiffstats
path: root/multiarch-platform
blob: e9e2da59249d8ae5d0ed91201003d68fa9e3664a (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
arch=`uname -m`
case $arch in
i?86) arch=i386;;
esac
os=`uname -s`
case $os in
Linux*) os=linux;;
esac
echo multiarch-$arch-$os