summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-07 08:30:12 +0200
committerErich Eckner <git@eckner.net>2018-05-07 08:31:42 +0200
commit5abcb8927e118afc94ed56006a189190a8cf7679 (patch)
tree165fc657bef28a6adfc8270fe7d842ddc9486e8c
parent1a370320a60c76514bdb6b7fa1ab7418c4509a38 (diff)
downloadbuilder-5abcb8927e118afc94ed56006a189190a8cf7679.tar.xz
lib/common-functions: mangle_pkgbuild: quote *depends to keep optdepends correctly
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
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