index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/common-functions | 6 |
diff --git a/bin/common-functions b/bin/common-functions index 4befce0..9b8f483 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -547,7 +547,11 @@ insert_break_loops_orders() { append_architectures() { local PKGBUILD="$1" - sed -i '/^arch=(/s/(/(i686 /' "${PKGBUILD}" + sed -i ' + /^arch=[^#]*any/!{ + /^arch=(/s/(/(i686 / + } + ' "${PKGBUILD}" } # find_newest_of_git_revisions |