diff options
author | Erich Eckner <git@eckner.net> | 2017-07-18 15:11:52 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-07-18 15:11:52 +0200 |
commit | 23507ddc597632a25c846439c9adb2abb12ea59f (patch) | |
tree | 040d840af223c0d0d8049adaa0daf7a9438742e0 /bin/common-functions | |
parent | 1038c3ce4412e0a8fd8c160afdbcdcbfd3e95f87 (diff) | |
download | builder-23507ddc597632a25c846439c9adb2abb12ea59f.tar.xz |
include i686 (again?) in arch list
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-x | bin/common-functions | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/common-functions b/bin/common-functions index f927386..5f124d3 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -2,10 +2,6 @@ # contains functions used by more than one script -# TODO: - -# mangle $arch in PKBUILDs to contain i486, i586, i686 - # find_pkgbuilds package repository git_repository git_revision mod_git_revision # find the PKGBUILD and modification of $package from $repository # sets $PKGBUILD and $PKGBUILD_mod @@ -481,3 +477,11 @@ insert_break_loops_orders() { ) | \ sponge "${file}" } + +# append_architectures $PKGBUILD +# mangle $arch in PKBUILDs to contain i486, i586, i686 + +append_architectures() { + local PKGBUILD="$1" + sed -i '/^arch=(/s/(/(i686 /' +} |