CVS: moonbase/doc-tools/docbook-xsl rebuild-docbook-catalog, 1.4,
1.5
nhudson at lunar-linux.org
nhudson at lunar-linux.org
Sun Sep 14 21:52:22 GMT 2003
Update of /var/cvs/lunar/moonbase/doc-tools/docbook-xsl
In directory dbguin.lunar-linux.org:/tmp/cvs-serv3237/docbook-xsl
Modified Files:
rebuild-docbook-catalog
Log Message:
This is alot better when you dont have libglade installed
Index: rebuild-docbook-catalog
===================================================================
RCS file: /var/cvs/lunar/moonbase/doc-tools/docbook-xsl/rebuild-docbook-catalog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- rebuild-docbook-catalog 14 Sep 2003 21:37:35 -0000 1.4
+++ rebuild-docbook-catalog 14 Sep 2003 21:52:20 -0000 1.5
@@ -329,12 +329,11 @@
fi
if [ "$found" = "" ] ; then
echo could not locate libglade dtd files
- exit 1
fi
-echo Found libglade DTDs in $found
-
-xmlcatalog --noout --add "system" \
- "http://glade.gnome.org/glade-2.0.dtd" \
- "file://$found" $CATALOG
-
+ if [ -d $libgladedir ]; then
+ echo Found libglade DTDs in $found
+ xmlcatalog --noout --add "system" \
+ "http://glade.gnome.org/glade-2.0.dtd" \
+ "file://$found" $CATALOG
+fi
More information about the Lunar-commits
mailing list