Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 997d322..6f175af 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -456,7 +456,7 @@ mangle_pkgbuild() {
sed -i '
/^\s*\(make\|check\|opt\|\)depends\(_[^=[:space:]]\+\)\?=(/ {
:a
- /^\s*\(\S[^=]*\)=(\([^()]*\(#[^\n]*\n\)\?\)*)/! {
+ /^\s*\(\S[^=]*\)=(\(\([^()"'"'"']\|"[^"]*"\|['"'"'][^'"'"']*['"'"']\s*\)*\(#[^\n]*\n\)\?\)*)/! {
$b
N
ba