From 5abcb8927e118afc94ed56006a189190a8cf7679 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 7 May 2018 08:30:12 +0200 Subject: lib/common-functions: mangle_pkgbuild: quote *depends to keep optdepends correctly --- 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 7093c12..ad0f206 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -575,7 +575,7 @@ mangle_pkgbuild() { sed -i ' /^\s*\(\(make\|check\|opt\|\)depends\)=(/ { :a - s,^\s*\(\S[^=]*\)=(\([^()]*\(#[^\n]*\n\)\?\)*),\0\n\1=(${\1[\@]/lib32-/})\n, + s,^\s*\(\S[^=]*\)=(\([^()]*\(#[^\n]*\n\)\?\)*),\0\n\1=("${\1[\@]/lib32-/}")\n, t $!N ba -- cgit v1.2.3-70-g09d2