RE: please review marathon-trilogy, marathon-scenarios

"Larson, Timothy E." <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <226316B3E1F749498E28ACA66321D5BA2AD5E1DB@oma00cexmbx03.corp.westworlds.com>
From: dieter roelants [mailto:[email protected]]
> It seems the spaces don't have anything to with it. Find just gets
> confused when you delete the directory it's traversing. I get the same
> error with NetBSD find as well, btw.

Interesting.  I built the package on Solaris, and didn't have this problem there.

> `find workdir -name CVS -print0 | xargs -0 rm -r` will work better, but
> I don't know if that's guaranteed to work on all pkgsrc platforms?
> Another option is `find workdir -name CVS | while read dir; do rm -r
> "$dir"; done`

Just to be clear, I'm trying to clean unnecessary cruft (CVS directories) out of $WRKSRC before installing the files into $LOCALBASE.  Is there a particular idiom in use that is best for this?

Thanks,
Tim

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.