[Build-common-hackers] Bug#424636: Bug#424636: Please rm -rf DEB_BUILDDIR_*

Karl Hegbloom karlheg at gmail.com
Fri Jun 15 20:47:21 UTC 2007

On Fri, 2007-06-15 at 14:12 +0200, Loïc Minier wrote:
> On Wed, May 16, 2007, Karl Hegbloom wrote:
> > But what if DEB_BUILDDIR is the the top-level directory
>  Yeah, it shouldn't rm -rf in this case indeed.
> > It should only remove that if it created it, right?
>  Yes, it does mkdir though.

There should probably also be a test to ensure that either DEB_BUILDDIR
is not CURDIR before the rm -rf, or that no mkdir is run if it is...

More information about the Build-common-hackers mailing list