Date: Thu, 19 Feb 2004 15:18:53 +0100 From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) To: Ruslan Ermilov <ru@FreeBSD.org> Cc: Garance A Drosehn <gad@FreeBSD.org> Subject: Re: cvs commit: src Makefile Message-ID: <xzpeksrw3si.fsf@dwp.des.no> In-Reply-To: <20040219134104.GB14981@ip.net.ua> (Ruslan Ermilov's message of "Thu, 19 Feb 2004 15:41:04 %2B0200") References: <200402162018.i1GKIQK4029731@repoman.freebsd.org> <p06020431bc58344f6847@[128.113.24.47]> <20040219134104.GB14981@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov <ru@FreeBSD.org> 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. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpeksrw3si.fsf>