From: Steve Singer Date: Sun, 29 Nov 2020 03:20:34 +0000 (-0500) Subject: 'dash' the sh shell on debian systems does not respect/support X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=b336e4682a6571a6bab24be723aebdd878b6aa8c;p=slony1-engine.git 'dash' the sh shell on debian systems does not respect/support echo -e. The escape sequence was not putting \end into the document. To avoid compatibility issues between 'dash' and a real 'sh' we will use printf --- diff --git a/doc/adminguide/Makefile b/doc/adminguide/Makefile index 38bbaf26..f94148bf 100644 --- a/doc/adminguide/Makefile +++ b/doc/adminguide/Makefile @@ -146,7 +146,7 @@ endif # We drop bad lines "\end{document}" generated by dblatex grep -vE '^(\\end{document}|\\subsection\*)$$' slony-tmp.tex > slony.tex # We put the required '\end{document}' at the end of the Tex file - echo "\end{document}" >> slony.tex + printf '\\end{document}' >> slony.tex # Latex required to run the following command 3 times in order to generating the TOC of the document pdflatex slony.tex pdflatex slony.tex