diff options
author | Erich Eckner <git@eckner.net> | 2019-03-07 09:28:01 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-03-07 09:28:01 +0100 |
commit | 5266bbc8bae99d09837027952793c00c857ef542 (patch) | |
tree | 4a924cdbc906445dfa4dc0eb16794e2893535df4 /lib/common-functions | |
parent | f63b3152a411ef335f6909ea87170adb6546b8bd (diff) | |
download | builder-5266bbc8bae99d09837027952793c00c857ef542.tar.xz |
"pentium3" -> "pentium4"
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common-functions b/lib/common-functions index 4904b37..e0ba40b 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -398,7 +398,7 @@ recursively_umount_and_rm() { } # mangle_pkgbuild $PKGBUILD [$sub_pkgrel] -# mangle $arch in PKBUILDs to contain i486, i686, pentium3 +# mangle $arch in PKBUILDs to contain i486, i686, pentium4 # append $sub_pkgrel to the pkgrel # remove "lib32-" and "gcc-multilib" from {make,check,opt,}depends @@ -418,7 +418,7 @@ mangle_pkgbuild() { sed -i ' /^arch=[^#]*any/!{ - /^arch=(/s/(/(i486 i686 pentium3 / + /^arch=(/s/(/(i486 i686 pentium4 / } s/^\(\s*pkgrel=\)['"'"'"]\?\([0-9.]\+\)['"'"'"]\?\s*\(#.*\)\?$/\1"\2'"${sub_pkgrel}"'"/ ' "${PKGBUILD}" |