# HG changeset patch # User Matti Hamalainen # Date 1366248886 -10800 # Node ID 1f18749befb494541b0eba0d83fadcbfc0a2a8ca # Parent 78268db92315908b917eb673c177280768342489 Fix tests for catalogs. diff -r 78268db92315 -r 1f18749befb4 docs/build-docs.sh --- a/docs/build-docs.sh Thu Apr 18 03:33:24 2013 +0300 +++ b/docs/build-docs.sh Thu Apr 18 04:34:46 2013 +0300 @@ -51,19 +51,19 @@ ### Check that we have xsltproc installed for DocBook XML processing if test -n "$XSLTPROC" && test -x "$XSLTPROC"; then echo "* xsltproc found, good... testing for DocBook XML stuff .." - if test -n "$CATALOGS1"; then + if test -e "$CATALOGS1"; then echo " * $CATALOGS1 found." else echo "*** xhtml/chunk.xsl not found!" exit 1 fi - if test -n "$CATALOGS2"; then + if test -e "$CATALOGS2"; then echo " * $CATALOGS2 found." else echo "*** xhtml/docbook.xsl not found!" exit 1 fi - if test -n "$CATALOGS3"; then + if test -e "$CATALOGS3"; then echo " * $CATALOGS3 found." else echo "*** fo/docbook.xsl not found!"