From b48aa5bbfdcba521914220ed37e21d73956e0012 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 29 Nov 2019 10:04:33 +0100 Subject: lib/common-functions: mangle_pkgbuild(): do not try to remove pkgrels from dependencies which contain a "$" --- lib/common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/common-functions') 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}" -- cgit v1.2.3-70-g09d2