index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2012-05-01 10:59:03 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-30 20:48:59 -0500 |
commit | 9d9c12e4e2dc92dfb6582ea7f79087e382348e71 (patch) | |
tree | e939e42e849a437dcb1f974c8c200ae4633994b6 /scripts | |
parent | 92e20b508d302a1d91f9b2a6836ac1cd4453c87c (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 1 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index d1251b84..d36dbd63 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -274,6 +274,7 @@ get_pkg_arch() { else local arch_override eval $(declare -f package_$1 | sed -n 's/\(^[[:space:]]*arch=\)/arch_override=/p') + (( ${#arch_override[@]} == 0 )) && arch_override=("${arch[@]}") if [[ $arch_override = "any" ]]; then printf "%s\n" "any" else |