[Zope-CVS] CVS: Zope - stupid_clean:1.1

Barry Warsaw barry@wooz.org
Thu, 18 Jul 2002 11:28:01 -0400


Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv27404

Added Files:
	stupid_clean 
Log Message:
"python setup.py clean" doesn't work well when you've built things
--inplace so use this instead.  Copied from Zope3.


=== Added File Zope/stupid_clean ===
#! /bin/sh

# "python setup.py clean" doesn't work with a --inplace build, so use
# this instead (copied from the Zope3 tree).

files=`find -name \*.o -o -name \*.so -o -name \*.py[co] -o -name core\*`
if [ ! -z "$files" ] ; then
    rm $files
fi