From 65b2e1750c83c18aa9c4bb0b176c74dae3f5b319 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 18 Jun 2023 17:14:34 +0900 Subject: [PATCH] [build] Fix escaping of \ in plist to plc Quoting is hard. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 5276ac096..b0f5d2f65 100644 --- a/Makefile.am +++ b/Makefile.am @@ -133,7 +133,7 @@ V_SED_1 = SUFFICES += .plist .plc .plist.plc: - $(V_SED)sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/\\n"/' $< > $@.t &&\ + $(V_SED)sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/\\n"/' $< > $@.t &&\ $(am__mv) $@.t $@ %.spv: %