[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
docs-common/bin tidy-bowl,1.5,1.6
- From: "Tommy Reynolds" (jtr) <fedora-docs-commits redhat com>
- To: fedora-docs-commits redhat com
- Subject: docs-common/bin tidy-bowl,1.5,1.6
- Date: Fri, 3 Feb 2006 12:49:02 -0500
Author: jtr
Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23617
Modified Files:
tidy-bowl
Log Message:
Don't prettyprint deleted files.
Index: tidy-bowl
===================================================================
RCS file: /cvs/docs/docs-common/bin/tidy-bowl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- tidy-bowl 21 Jan 2006 18:47:19 -0000 1.5
+++ tidy-bowl 3 Feb 2006 17:48:55 -0000 1.6
@@ -45,12 +45,14 @@
for fn in $@
do
case "${fn}" in
- *-de.xml | *-en.xml | *-fr-xml | *-it.xml | *-es.xml | *-ru.xml )
+ *-de.xml | *-en.xml | *-fr-xml | *-it.xml )
# Make sure we can find the input file
# /bin/echo "$0: XML file ${fn} prettyprinted."
if [ ! -f "${fn}" ]; then
- /bin/echo $0 "Cannot find '${fn}'"
- exit 1
+ # A non-readable file may be removed. Ever
+ # think of that?
+ # /bin/echo $0 "Cannot find '${fn}'"
+ exit 0
fi
# Try to clean it up
${NORMTOOL} ${NORMARGS} ${INPLACE} "${fn}"
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]