From owner-cvs-src@FreeBSD.ORG Thu Feb 19 10:50:58 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B932B16A4CE for ; Thu, 19 Feb 2004 10:50:58 -0800 (PST) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FC6D43D2D for ; Thu, 19 Feb 2004 10:50:58 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 13894 invoked from network); 19 Feb 2004 18:50:58 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 19 Feb 2004 18:50:58 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i1JIoe2J004640; Thu, 19 Feb 2004 13:50:42 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Thu, 19 Feb 2004 12:48:19 -0500 User-Agent: KMail/1.6 References: <200402162018.i1GKIQK4029731@repoman.freebsd.org> <20040219134104.GB14981@ip.net.ua> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200402191248.19870.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx 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-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 18:50:58 -0000 On Thursday 19 February 2004 09:18 am, Dag-Erling Sm=F8rgrav 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. If /usr/obj is a symlink it should stay that way so that a user doesn't hav= e=20 to relink it every time. Using /* is probably the best approach. =2D-=20 John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =3D http://www.FreeBSD.org