]> git.donarmstrong.com Git - debhelper.git/commitdiff
r2036: * dh_clean: append "/" to the temp dir name to avoid removing
authorjoeyh <joeyh>
Sun, 7 Oct 2007 13:28:36 +0000 (13:28 +0000)
committerjoeyh <joeyh>
Sun, 7 Oct 2007 13:28:36 +0000 (13:28 +0000)
  a file with the same name. Closes: #445638

debian/changelog
dh_clean

index 49edc1fb3f151d7322d4191b275ec4bc7c82bb99..0efaa3ee76bb37e3a6f09234d7f1ac2a1f158dd0 100644 (file)
@@ -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 <joeyh@debian.org>  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
index 18c298df20e224bcbde7e0327af695c4a4950de6..21114df895d29a2d68394bdaa913fd991b198e57 100755 (executable)
--- 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);
 }