[Zope3-checkins] CVS: Zope3/utilities - XXXreport:1.3

Christian Theune ct@gocept.com
Tue, 10 Dec 2002 15:47:09 -0500


Update of /cvs-repository/Zope3/utilities
In directory cvs.zope.org:/tmp/cvs-serv11450

Modified Files:
	XXXreport 
Log Message:
fixed finding things twice or more often


=== Zope3/utilities/XXXreport 1.2 => 1.3 ===
--- Zope3/utilities/XXXreport:1.2	Sat Dec  7 12:37:35 2002
+++ Zope3/utilities/XXXreport	Tue Dec 10 15:47:08 2002
@@ -26,8 +26,9 @@
 BASE=`dirname $0`
 
 # find also finds hidden files
-find $ZOPEBASE -! -name "*.pyc" -print0 | \
-    xargs -0 grep -niIr -A 3 -E "$PATTERN" | \
+rm $TARGET
+find $ZOPEBASE -! -name "*.pyc" -print0  | \
+    xargs -0 grep -niIs -A 3 -E "$PATTERN" | \
     $PYTHON $BASE/XXXreport2html.py /dev/stdin $TARGET >/dev/null
     
 rm -f $TMPFILE