index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-05-17 10:04:43 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-05-17 10:04:43 +0200 |
commit | 467e1211dad8554610b3e4572911dc075dbd2dc2 (patch) | |
tree | c427e9c864532c86e509db15cbce97ba74b9f913 | |
parent | d4bd5f1061ec869dc2d4755fdd0c2191f9d7e418 (diff) |
-rwxr-xr-x | bin/common-functions | 3 |
diff --git a/bin/common-functions b/bin/common-functions index c2fa39e..c072612 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -22,6 +22,7 @@ find_pkgbuild() { for repo in "${!repo_paths[@]}"; do if [ "${repo}" == "archlinux32" ]; then + # this is not a repository of packages continue fi if ! [ -d "${repo_paths["${repo}"]}/$1" ]; then @@ -37,6 +38,8 @@ find_pkgbuild() { )" if [ -n "${PKGBUILD}" ]; then echo "${PKGBUILD}" + # add i486 to the arch list + sed '/^arch=[^#]*any/!s|^\(arch=(\)\([^#]*)\)\s*\(#.*\)\?$|\1i486 \2|' -i "${PKGBUILD}" if [ -f "${repo_paths["archlinux32"]}/$2/$1/PKGBUILD" ] && \ [ ! -f "${PKGBUILD}.changes-applied" ]; then # If this package has modifications (or is new), apply them now: |