From 7227bd294ace7fa4cb2991655cb159fc37a0b24f Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 6 Apr 2005 09:39:57 +0000 Subject: [PATCH] changes I neglected to check in a while back and that have just been sitting in my sandbox --- cvstools/docbook-dtd-test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cvstools/docbook-dtd-test b/cvstools/docbook-dtd-test index df187e327..f2055cf9c 100755 --- a/cvstools/docbook-dtd-test +++ b/cvstools/docbook-dtd-test @@ -68,7 +68,7 @@ $UNZIP $UNZIP_OPTS `basename $1` XML_CATALOG_FILES=$TEMPDIR/$unzip_dir/catalog.xml export XML_CATALOG_FILES cd $TEMPDIR/testdocs/tests -for file in `find . -name "*.xml" | cut -c3-`; do +for file in `find . -name "*.xml" -maxdepth 1 | cut -c3-`; do if [ "$VERBOSE" = "Yes" ]; then $SED $SED_OPTS "s#/[^/]\+/docbookx.dtd#/$version/docbookx.dtd#" $file \ | $XMLLINT $XMLLINT_OPTS - @@ -77,6 +77,7 @@ for file in `find . -name "*.xml" | cut -c3-`; do | $XMLLINT $XMLLINT_OPTS - 1>/dev/null 2>&1 fi + echo $file if [ $? != "0" ] ; then echo "Not valid: $file" if [ "$VERBOSE" = "Yes" ]; then @@ -85,5 +86,5 @@ for file in `find . -name "*.xml" | cut -c3-`; do fi done cd $TEMPDIR -rm -rf testdocs +#rm -rf testdocs rm -rf $unzip_dir -- 2.40.0