From: Mark Andrews Date: Fri, 22 Oct 2021 06:00:39 +0000 (+1100) Subject: Add '\n' to the end of each line when generating xsl.c X-Git-Tag: v9.17.20~9^2~1 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=5bde56a4bb591ebe7a0030801d4119784036fd13;p=thirdparty%2Fbind9.git 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. --- diff --git a/bin/named/Makefile.am b/bin/named/Makefile.am index 87e60ddcd59..7065a90b7a3 100644 --- a/bin/named/Makefile.am +++ b/bin/named/Makefile.am @@ -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" > $@