Date: Fri, 03 Jun 2011 13:17:14 -0700 From: Doug Barton <dougb@FreeBSD.org> To: =?UTF-8?B?UmVuw6kgTGFkYW4=?= <rene@freebsd.org> Cc: cvs-ports@freebsd.org, Wesley Shields <wxs@freebsd.org>, cvs-all@freebsd.org, Ruslan Mahmatkhanov <cvs-src@yandex.ru>, ports-committers@freebsd.org Subject: Re: cvs commit: ports/net/erlyvideo Makefile pkg-plist Message-ID: <4DE9414A.5090901@FreeBSD.org> In-Reply-To: <BANLkTikaACrgESHbSDNgMkS=NMVEOk_TNg@mail.gmail.com> References: <201106021631.p52GVgHM038132@repoman.freebsd.org> <20110602165708.GA61311@atarininja.org> <4DE7D4B4.3040302@yandex.ru> <4DE8023A.50209@FreeBSD.org> <4DE89146.9090904@yandex.ru> <BANLkTikaACrgESHbSDNgMkS=NMVEOk_TNg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/03/2011 08:09, René Ladan wrote: > 2011/6/3 Ruslan Mahmatkhanov<cvs-src@yandex.ru>: >> 03.06.2011 01:35, Doug Barton пишет: >>> >>> On 06/02/2011 11:21, Ruslan Mahmatkhanov wrote: >>>> >>>> + @${FIND} ${WRKSRC} -type f -name .gitignore -delete -or -name "*.bak" \ >>>> + -delete -or -name "*.orig" -delete >>> >>> @${FIND} ${WRKSRC} -type f \( -name .gitignore -or -name "*.bak" -or -name >>> "*.orig" \) -delete >>> > Ok, but this does not seem to work for directories. The original request was for '-type f' specifically. :) find will remove empty directories with '-delete' but it won't remove directories that have stuff in them. It's not clear to me if this is a bug or not. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DE9414A.5090901>