From owner-cvs-all@FreeBSD.ORG Fri Jun 3 20:17:16 2011 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 6BF701065679; Fri, 3 Jun 2011 20:17:16 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 2CCC514EEC3; Fri, 3 Jun 2011 20:17:15 +0000 (UTC) Message-ID: <4DE9414A.5090901@FreeBSD.org> Date: Fri, 03 Jun 2011 13:17:14 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: =?UTF-8?B?UmVuw6kgTGFkYW4=?= References: <201106021631.p52GVgHM038132@repoman.freebsd.org> <20110602165708.GA61311@atarininja.org> <4DE7D4B4.3040302@yandex.ru> <4DE8023A.50209@FreeBSD.org> <4DE89146.9090904@yandex.ru> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: cvs-ports@freebsd.org, Wesley Shields , cvs-all@freebsd.org, Ruslan Mahmatkhanov , ports-committers@freebsd.org Subject: Re: cvs commit: ports/net/erlyvideo Makefile pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2011 20:17:16 -0000 On 06/03/2011 08:09, René Ladan wrote: > 2011/6/3 Ruslan Mahmatkhanov: >> 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/