From 2a68f0a65973cb85498214534bbfa38c55c91f9f Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 13 Jan 2010 09:01:02 -0600 Subject: adding a docbook.xsl finder and fixing the chapter_03 syntax (unclosed tag) --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 7e16ac3..2ea185b 100644 --- a/build.sh +++ b/build.sh @@ -1,5 +1,9 @@ #!/bin/sh STYLE_SHEET="/usr/share/xml/docbook/xsl-stylesheets-1.75.1/html/docbook.xsl" +if [ ! -r "$STYLE_SHEET" ] ; then + STYLE_SHEET=$(find /usr/share/xml -name docbook.xsl | grep /html/) + echo using $STYLE_SHEET instead +fi xsltproc \ -xinclude \ -- cgit v1.2.3