diff mbox series

[RFC,08/12] test: doc: use temporary stylesheet

Message ID 20230413115745.116063-9-felipe.contreras@gmail.com (mailing list archive)
State New, archived
Headers show
Series doc: add tests and reimplement xmlto | expand

Commit Message

Felipe Contreras April 13, 2023, 11:57 a.m. UTC
xsltproc doesn't have a problem with a our trash directory.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 t/t0600-doc-tools.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/t/t0600-doc-tools.sh b/t/t0600-doc-tools.sh
index 0af431941d..cd88027514 100755
--- a/t/t0600-doc-tools.sh
+++ b/t/t0600-doc-tools.sh
@@ -54,10 +54,10 @@  description
 Part of the \fBgit\fR(1) suite
 EOF
 
-"$doc_dir"/gen-stylesheet >"$doc_dir"/manpage.xsl
+"$doc_dir"/gen-stylesheet >manpage.xsl
 
 xmltoman() {
-	xsltproc --nonet -o "$1.1" "$doc_dir/manpage.xsl" "$1.xml"
+	xsltproc --nonet -o "$1.1" manpage.xsl "$1.xml"
 }
 
 build_asciidoc_py() {