From owner-freebsd-hackers@FreeBSD.ORG Mon May 19 22:25:35 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF0BC1065682; Mon, 19 May 2008 22:25:35 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id B30908FC0A; Mon, 19 May 2008 22:25:35 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from [85.21.245.235] (helo=phonon.ht-systems.ru) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1JyDKZ-0007BF-EF; Tue, 20 May 2008 01:55:43 +0400 Received: by phonon.ht-systems.ru (Postfix, from userid 1001) id CD5587EDDD9; Tue, 20 May 2008 01:55:45 +0400 (MSD) Date: Tue, 20 May 2008 01:55:45 +0400 From: Stanislav Sedov To: Beech Rintoul Message-Id: <20080520015545.c9456ac5.stas@FreeBSD.org> In-Reply-To: <200805182355.24787.beech@freebsd.org> References: <200805182328.45822.beech@freebsd.org> <200805182355.24787.beech@freebsd.org> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprin: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Help with copytree code X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 22:25:36 -0000 On Sun, 18 May 2008 23:55:22 -0800 Beech Rintoul mentioned: > On Sunday 18 May 2008, Beech Rintoul said: > > This copytree code is from bsd.port.mk, and I've been asked to try > > and find a fix. This is very handy for installing a whole tree > > (like a web app) keeping everything intact. It wasn't designed to > > copy to a populated directory so it affects everything in that dir, > > not just what's being installed. We need to keep it's > > functionality, but a fix is more than I can come up with. So I > > thought I'd ask you code gurus to help. If this can be fixed many > > will thank you! > > > > I attached it so it won't get line wrapped. > > > > Thanks, > > > > Beech > > Looks like it got stripped off, so I posted it here: > > http://www.alaskaparadise.com/freebsd/copytree_code > I think the following will do the trick, though I have not tested it: http://mbsd.msk.ru/dist/copytree.diff -- Stanislav Sedov ST4096-RIPE