index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-08-28 12:43:40 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-28 12:43:40 +0200 |
commit | 7ce0ca4681bdb33e5809d6daa3f5e68aea4a2346 (patch) | |
tree | 1926d3a1354c38d47d9d2d2dbeab35b0712b9c43 /bin | |
parent | 56f11fa626cb70b7c98833a1070e7f0fd26015a7 (diff) |
-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 |