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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



xsltproc doesn't have a problem with a our trash directory.

Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx>
---
 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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux