[Zope3-checkins] CVS: Zope3 - Makefile:1.28

Guido van Rossum guido@python.org
Wed, 30 Apr 2003 18:21:03 -0400


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

Modified Files:
	Makefile 
Log Message:
Ouch!  The latest change to the 'clean' was subtly broken, because in
the "find" command line syntax, "and" (juxtaposition) binds more
tightly than "or" (-o).  Fixed this by adding parentheses.


=== Zope3/Makefile 1.27 => 1.28 ===
--- Zope3/Makefile:1.27	Wed Apr 30 10:56:10 2003
+++ Zope3/Makefile	Wed Apr 30 18:21:02 2003
@@ -34,7 +34,7 @@
 	$(PYTHON) z3.py
 
 clean:
-	find . -name '*.o' -o -name '*.so' -o -name '*.py[co]' -o -name '*.dll' -exec rm {} \;
+	find . \( -name '*.o' -o -name '*.so' -o -name '*.py[co]' -o -name '*.dll' \) -exec rm {} \;
 	rm -rf build
 
 realclean: clean