]> git.llucax.com Git - software/mutt-debian.git/blob - debian/scripts/archmap
Import mutt_1.5.9-2
[software/mutt-debian.git] / debian / scripts / archmap
1 #!/bin/sh
2 # i486 i386 i486 i586 pentium pentiumpro
3 if [ $(basename $0) = archmap ];then
4         if [ -z $1 ];then
5                 arch=$(dpkg --print-gnu-build-architecture)
6         else
7                 arch=$1
8         fi
9 else
10         if [ -z $arch ];then
11                 arch=$(dpkg --print-gnu-build-architecture)
12         fi
13 fi
14 set -- $(egrep ".* $arch( .*|$)" debian/scripts/archmap)
15 if [ -z $2 ];then
16         arch=$arch
17 else
18         arch=$2
19 fi
20 if [ $(basename $0) = archmap ];then
21         echo $arch
22 fi