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:
@@ -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" > $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user