[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to become very unpopular. (or:) A scary story.

On Thu, Aug 16, 2001 at 03:48:13PM -0800, Ethan Benson wrote:
> > > uninstall:
> > >       rm -rf $(LIBDIR)
> also notice that this example will rm -rf /usr/lib ;-)

Uh, yeah :)  But in my defense, it was that way in the original makefile
snippet, and I missed it.  It should have been written as

	rm -rf $(LIBDIR)/foo

I don't think any technique can protect against mistakes like that.

Richard Braakman

Reply to: