Add '\n' to the end of each line when generating xsl.c

This makes the bind9.xml more readable in a browser when debugging
and also ensures that the file is properly terminated in the HTTP
transaction.
This commit is contained in:
Mark Andrews
2021-11-02 11:18:45 +00:00
parent d051de17de
commit 5bde56a4bb
+1 -1
View File
@@ -47,7 +47,7 @@ xsl.c: bind9.xsl Makefile
(echo 'const char xslmsg[] =' && \
$(SED) -e 's,\",\\\",g' \
-e 's,^,\",' \
-e 's,$$,\",' && \
-e 's,$$,\\n\",' && \
echo ";") \
< "${srcdir}/bind9.xsl" > $@