summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-29 10:04:33 +0100
committerErich Eckner <git@eckner.net>2019-11-29 10:04:33 +0100
commitb48aa5bbfdcba521914220ed37e21d73956e0012 (patch)
tree0c3faa0102133a483706461fdea171d563088d23 /lib/common-functions
parentfff21384f95e8131eb0b041d3bdd6f8eed31cb04 (diff)
downloadbuilder-b48aa5bbfdcba521914220ed37e21d73956e0012.tar.xz
lib/common-functions: mangle_pkgbuild(): do not try to remove pkgrels from dependencies which contain a "$"
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions2
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}"