[RFC PATCH 08/12] test: doc: use temporary stylesheet
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 --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() {
--
2.40.0+fc1