From owner-cvs-all@FreeBSD.ORG Thu Feb 19 12:35:58 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09C4116A4CF; Thu, 19 Feb 2004 12:35:58 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3C7C43D1D; Thu, 19 Feb 2004 12:35:57 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.10/8.12.10) with ESMTP id i1JKZrOJ099487; Thu, 19 Feb 2004 12:35:53 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.10/8.12.10/Submit) id i1JKZpQQ099486; Thu, 19 Feb 2004 12:35:51 -0800 (PST) (envelope-from obrien) Date: Thu, 19 Feb 2004 12:35:51 -0800 From: "David O'Brien" To: Dag-Erling Sm?rgrav Message-ID: <20040219203551.GC98804@dragon.nuxi.com> References: <200402162018.i1GKIQK4029731@repoman.freebsd.org> <20040219134104.GB14981@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Ruslan Ermilov cc: cvs-all@FreeBSD.org cc: Garance A Drosehn Subject: Re: cvs commit: src Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 20:35:58 -0000 On Thu, Feb 19, 2004 at 03:18:53PM +0100, Dag-Erling Sm?rgrav wrote: > Ruslan Ermilov writes: > > Also, why "rm -rf ${.OBJDIR}/*" instead of "rm -rf ${.OBJDIR}"? > > Is it to preserve a possibly symlinked /usr/obj? > > Probably because if ${.OBJDIR} is a symlink, 'rm -rf ${.OBJDIR}' will > just remove the symlink and not the actual files. A better way to > address this is with 'rm -rf ${.OBJDIR}/', which will remove the > contents of the directory the symlink points to before removing the > symlink. The original is better -- it can be used as a lay-person. Several of my obj directories are owned by non-root, and using ${.OBJDIR}/* DTRT.