summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Batts <vbatts@spiderpig.awarix.com>2010-01-13 09:01:02 -0600
committerVincent Batts <vbatts@spiderpig.awarix.com>2010-01-13 09:01:02 -0600
commit2a68f0a65973cb85498214534bbfa38c55c91f9f (patch)
treee2b1bbc0b84c0d4e0bc1fb2f80d6a7a6ea6d2f67
parent0f8d3039bc94693f7516f3011f0ffbc9cb2b66c6 (diff)
downloadslackbook-2a68f0a65973cb85498214534bbfa38c55c91f9f.tar.xz
adding a docbook.xsl finder
and fixing the chapter_03 syntax (unclosed tag)
-rw-r--r--build.sh4
-rw-r--r--chapter_03.xml1
2 files changed, 5 insertions, 0 deletions
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"
+</prompt>
</screen>
<para>