index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lib/common-functions | 8 |
diff --git a/lib/common-functions b/lib/common-functions index a1e019f..f5e1f74 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -452,14 +452,14 @@ mangle_pkgbuild() { s/^\(\s*pkgrel=\)['"'"'"]\?\([0-9.]\+\)['"'"'"]\?\s*\(#.*\)\?$/\1"\2'"${sub_pkgrel}"'"/ ' "${PKGBUILD}" + # shellcheck disable=SC2016 sed -i ' /^\s*\(make\|check\|opt\|\)depends\(_[^=[:space:]]\+\)\?=(/ { :a /^\s*\(\S[^=]*\)=(\([^()]*\(#[^\n]*\n\)\?\)*)/! { - $! { - N - ba - } + $b + N + ba } :b s/\(=.*["'"'"'([:space:]]\)lib32-/\1/g |