From: joeyh Date: Sun, 7 Oct 2007 13:28:36 +0000 (+0000) Subject: r2036: * dh_clean: append "/" to the temp dir name to avoid removing X-Git-Tag: 5.0.58~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=17188701acec8c9222c5b5962d1f9aee0039e951;p=debhelper.git r2036: * dh_clean: append "/" to the temp dir name to avoid removing a file with the same name. Closes: #445638 --- diff --git a/debian/changelog b/debian/changelog index 49edc1f..0efaa3e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (5.0.58) UNRELEASED; urgency=low + + * dh_clean: append "/" to the temp dir name to avoid removing + a file with the same name. Closes: #445638 + + -- Joey Hess Sun, 07 Oct 2007 09:27:26 -0400 + debhelper (5.0.57) unstable; urgency=low * Add --ignore option. This is intended to ease dealing with upstream diff --git a/dh_clean b/dh_clean index 18c298d..21114df 100755 --- a/dh_clean +++ b/dh_clean @@ -70,7 +70,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { complex_doit("rm -f debian/$ext*.debhelper"); } - doit ("rm","-rf",$tmp) + doit ("rm","-rf",$tmp."/") unless excludefile($tmp); }