diff options
author | Daniel J Griffiths <ghost1227@archlinux.us> | 2009-08-12 13:39:25 -0700 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-08-12 13:39:25 -0700 |
commit | 47e7a3706b4d51a94d383724f349493dc2b47a11 (patch) | |
tree | bde9eef8e5e3abae8836b02ab6d1d52a0b14a984 /commitpkg | |
parent | a3f1558b28de4ef0d3d085ba5b491d8e14da82f4 (diff) | |
download | devtools32-47e7a3706b4d51a94d383724f349493dc2b47a11.tar.xz |
commitpkg: Add support for 'any' architecture
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'commitpkg')
-rwxr-xr-x | commitpkg | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -27,14 +27,22 @@ fi source PKGBUILD pkgfile=${pkgname}-${pkgver}-${pkgrel}-${CARCH}${PKGEXT} +anypkgfile=${pkgname}-${pkgver}-${pkgrel}-any${PKGEXT} oldstylepkgfile=${pkgname}-${pkgver}-${pkgrel}${PKGEXT} if [ ! -f $pkgfile ]; then if [ -f $PKGDEST/$pkgfile ]; then pkgfile=$PKGDEST/$pkgfile + anypkgfile=$PKGDEST/$anypkgfile oldstylepkgfile=$PKGDEST/$oldstylepkgfile + elif [ -f $anypkgfile ]; then + pkgfile=$anypkgfile + CARCH=any elif [ -f $oldstylepkgfile ]; then pkgfile=$oldstylepkgfile + elif [ -f $PKGDEST/$anypkgfile ]; then + pkgfile=$PKGDEST/$anypkgfile + CARCH=any elif [ -f $PKGDEST/$oldstylepkgfile ]; then pkgfile=$PKGDEST/$oldstylepkgfile else |