From 4a5e7b6bd1a887f67b9b9ec8115250fc92c741ca Mon Sep 17 00:00:00 2001 From: Roman Kyrylych Date: Wed, 31 Oct 2007 18:41:17 +0200 Subject: Add support for arch='any' Signed-off-by: Roman Kyrylych Signed-off-by: Dan McGee --- scripts/makepkg.sh.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/makepkg.sh.in') diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 831c1bda..e23484ea 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1300,6 +1300,10 @@ if [ $(echo "$pkgrel" | grep '-') ]; then exit 1 fi +if [ "$arch" = 'any' ]; then + CARCH='any' +fi + if ! in_array $CARCH ${arch[@]}; then if [ "$IGNOREARCH" = "0" ]; then error "$(gettext "%s is not available for the '%s' architecture.")" "$pkgname" "$CARCH" -- cgit v1.2.3-54-g00ecf