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 ++++ chapter_03.xml | 1 + 2 files changed, 5 insertions(+) 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 \ diff --git a/chapter_03.xml b/chapter_03.xml index 5c63c48..6a00ef1 100644 --- a/chapter_03.xml +++ b/chapter_03.xml @@ -196,6 +196,7 @@ ROOTFS="ext4" #RAID="0" LVM="1" #WAIT="1" + -- cgit v1.2.3