summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-06-07 06:50:55 +0200
committerErich Eckner <git@eckner.net>2022-09-30 08:43:49 +0200
commitfc384370c862fa4f616b6fa84e0e93f43d2c6e04 (patch)
treececb567aa13e2d5115bfa77c5d21c9d1214178d0
parent28c3e77b4715f1b3664eb1c91507983feee73fc7 (diff)
downloaddevtools-fc384370c862fa4f616b6fa84e0e93f43d2c6e04.tar.xz
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 22a97fb..264a72f 100644
--- a/Makefile
+++ b/Makefile
@@ -147,17 +147,17 @@ edit = sed -e "s|@pkgdatadir[@]|$(PREFIX)/share/devtools|g"
makepkg-i486.conf: makepkg-x86_64.conf
@echo "GEN $@"
- @sed ' \
- s,\(["=]\)x86[-_]64\([-" ]\),\1i486\2,g; \
+ @sed " \
+ s,\(["'"'"=]\)x86[-_]64\([-"'"'" ]\),\1i486\2,g; \
s,-fcf-protection,,g; \
- ' "$<" > "$@"
+ " "$<" > "$@"
makepkg-i686.conf: makepkg-x86_64.conf
@echo "GEN $@"
- @sed '
- s,\(["=]\)x86[-_]64\([-" ]\),\1i686\2,g; \
+ @sed " \
+ s,\(["'"'"=]\)x86[-_]64\([-"'"'" ]\),\1i686\2,g; \
s,-fcf-protection,,g; \
- ' "$<" > "$@"
+ " "$<" > "$@"
makepkg-pentium4.conf: makepkg-i686.conf
@echo "GEN $@"