diff options
author | Erich Eckner <git@eckner.net> | 2019-11-29 10:04:33 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-29 10:04:33 +0100 |
commit | b48aa5bbfdcba521914220ed37e21d73956e0012 (patch) | |
tree | 0c3faa0102133a483706461fdea171d563088d23 /lib | |
parent | fff21384f95e8131eb0b041d3bdd6f8eed31cb04 (diff) | |
download | builder-b48aa5bbfdcba521914220ed37e21d73956e0012.tar.xz |
lib/common-functions: mangle_pkgbuild(): do not try to remove pkgrels from dependencies which contain a "$"
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/common-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions index ae42a03..a1e019f 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -464,7 +464,7 @@ mangle_pkgbuild() { :b s/\(=.*["'"'"'([:space:]]\)lib32-/\1/g s/\(=.*["'"'"'([:space:]]\)gcc-multilib\(["'"'"')[:space:]]\)/\1gcc\2/g - s/\(=.*["'"'"'([:space:]]\S\+[<=>]\S\+\)-[^:"'"'"')[:space:]]\+\([:"'"'"')[:space:]]\)/\1\2/g + s/\(=.*["'"'"'([:space:]][^[:space:]$]\+[<=>]\S\+\)-[^:"'"'"')[:space:]]\+\([:"'"'"')[:space:]]\)/\1\2/g tb } ' "${PKGBUILD}" |