summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-06-07 06:50:55 +0200
committerErich Eckner <git@eckner.net>2022-06-07 07:16:29 +0200
commit0b93b9d597011638b66d81956ed56364364d16ec (patch)
treed9a41d84d7e18de8a3018e44c4185100ec29956a
parentc2b14468e7645cd517d4804c86b6401643d89128 (diff)
downloaddevtools-20220607.tar.xz
fix quoting in Makefile: single quotes don't like line breaksv20220607
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 2480d7b..aa22903 100644
--- a/Makefile
+++ b/Makefile
@@ -135,17 +135,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 $@"