Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-06-07 06:50:55 +0200
committerErich Eckner <git@eckner.net>2022-12-08 12:57:22 +0100
commit058e2c7190eb9635faad21838e2a78f8f3b1cd0a (patch)
tree839cf5646138ad45af6f99ee86b5c2a8286a1ac9
parentc7984ae4978267b5579f592beb5da32ba6d4e350 (diff)
fix quoting in Makefile: single quotes don't like line breaks
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index c7ed3aa..1fade31 100644
--- a/Makefile
+++ b/Makefile
@@ -117,18 +117,18 @@ GEN_MSG = @echo "GEN $(patsubst $(BUILDDIR)/%,%,$@)"
$(BUILDDIR)/config/makepkg-i486.conf: config/makepkg/x86_64.conf
@echo "GEN $(notdir $@)"
@mkdir -p $(dir $@)
- @sed '
- s,\(["=]\)x86[-_]64\([-" ]\),\1i486\2,g; \
+ @sed " \
+ s,\(["'"'"=]\)x86[-_]64\([-"'"'" ]\),\1i486\2,g; \
s,-fcf-protection,,g; \
- ' "$<" > "$@"
+ " "$<" > "$@"
$(BUILDDIR)/config/makepkg-i686.conf: config/makepkg/x86_64.conf
@echo "GEN $(notdir $@)"
@mkdir -p $(dir $@)
- @sed '
- s,\(["=]\)x86[-_]64\([-" ]\),\1i686\2,g; \
+ @sed " \
+ s,\(["'"'"=]\)x86[-_]64\([-"'"'" ]\),\1i686\2,g; \
s,-fcf-protection,,g; \
- ' "$<" > "$@"
+ " "$<" > "$@"
$(BUILDDIR)/config/makepkg-pentium4.conf: $(BUILDDIR)/config/makepkg-i686.conf
@echo "GEN $(notdir $@)"