]> git.donarmstrong.com Git - debhelper.git/commitdiff
r174: Initial Import
authorjoey <joey>
Tue, 17 Aug 1999 05:10:12 +0000 (05:10 +0000)
committerjoey <joey>
Tue, 17 Aug 1999 05:10:12 +0000 (05:10 +0000)
debian/changelog
dh_clean

index a31d5240806e153496237ad395c81923794af9ea..49eab4c34b1bc89817e15200d8bd3480144d1370 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (1.2.38) unstable; urgency=low
+
+  * dh_clean: don't try to delete directories named "core".
+
+ -- Joey Hess <joeyh@master.debian.org>  Sat, 20 Feb 1999 19:13:40 -0800
+
 debhelper (1.2.37) unstable; urgency=low
 
   * dh_installdocs: Patch from Jim Pick <jim@jimpick.com>, fixes regexp error (Closes: #33431).
index c883a626f44f40abd0b1193445622f6ce8e3f34f..9ffb7437c0a864bc9c8232a270a513987cb35149 100755 (executable)
--- a/dh_clean
+++ b/dh_clean
@@ -35,9 +35,10 @@ if (! $dh{D_FLAG}) {
        # (The \s+ is important, \s won't work because find would get null
        # parameters). Note that you _don't_ quote wildcards used by find
        # in here.
-       doit(split(/\s+/,"find . ( -name #*# -o -name *~ -o -name DEADJOE
-               -o -name *.orig -o -name *.rej -o -name *.bak
-               -o -name .*.orig -o -name .*.rej -o -name .SUMS
-               -o -name TAGS -o -name core -o ( -path */.deps/* -a -name *.P )
+       doit(split(/\s+/,"find . -type f -a
+               ( -name #*# -o -name *~ -o -name DEADJOE
+                -o -name *.orig -o -name *.rej -o -name *.bak
+                -o -name .*.orig -o -name .*.rej -o -name .SUMS
+                -o -name TAGS -o -name core -o ( -path */.deps/* -a -name *.P )
                ) -exec rm -f {} ;"));
 }