]> granicus.if.org Git - docbook-dsssl/commitdiff
changes I neglected to check in a while back and that have just
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 6 Apr 2005 09:39:57 +0000 (09:39 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 6 Apr 2005 09:39:57 +0000 (09:39 +0000)
been sitting in my sandbox

cvstools/docbook-dtd-test

index df187e3270befa8fd866d40c06aacefdfc5b0f72..f2055cf9c2a165c85c5140aade967cb972622ab5 100755 (executable)
@@ -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