Mercurial > hg > batmud > ggrtf
changeset 1540:1f18749befb4
Fix tests for catalogs.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 18 Apr 2013 04:34:46 +0300 |
parents | 78268db92315 |
children | 23692c3e210d |
files | docs/build-docs.sh |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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!"