cvs commit: src Makefile

Dag-ErlingSmørgrav des at des.no
Thu Feb 19 06:19:02 PST 2004


Ruslan Ermilov <ru at 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-all mailing list