From: Egon W. <eg...@us...> - 2002-06-13 19:55:34
|
Update of /cvsroot/woc/woc/data/wml In directory usw-pr-cvs1:/tmp/cvs-serv29680 Modified Files: validate_source Log Message: Fixed a number of validity errors. Index: validate_source =================================================================== RCS file: /cvsroot/woc/woc/data/wml/validate_source,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** validate_source 13 Jun 2002 14:47:51 -0000 1.1 --- validate_source 13 Jun 2002 19:55:31 -0000 1.2 *************** *** 1,10 **** ! #! /usr/bin/bash ! files=`find a -name "*xml"` ! ! for f in $files; \ ! do \ ! echo -n Checking $f...; \ ! export SGML_CATALOG_FILES="./catalog"; \ ! xmllint --catalogs --noout --valid $f && echo done; \ ! done --- 1,20 ---- ! #! /bin/bash ! if test "x$1" = "x"; ! then ! files=`find . -name "*xml"` ! for f in $files; \ ! do \ ! echo -n Checking $f...; \ ! export SGML_CATALOG_FILES="./catalog"; \ ! xmllint --catalogs --noout --valid $f && echo done; \ ! done ! else ! if test -e $1; ! then ! echo -n Checking $1...; \ ! export SGML_CATALOG_FILES="./catalog"; \ ! xmllint --catalogs --noout --valid $1 && echo done; \ ! exit 0; ! fi ! fi |