]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_md5sums: Don't skip DEBIAN directories other than the control files one. Closes...
authorJoey Hess <joey@kitenet.net>
Tue, 10 Apr 2012 16:42:17 +0000 (12:42 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 10 Apr 2012 16:42:17 +0000 (12:42 -0400)
debian/changelog
dh_md5sums

index 99286ff8d004f3c5679c31a56ff3fefdb4ed0f67..a2e876b02205fc5c75e64c418785659fe37edc7f 100644 (file)
@@ -2,6 +2,8 @@ debhelper (9.20120323) UNRELEASED; urgency=low
 
   * Fix a typo. Closes: #665891
   * Conflict with too old automake for AM_UPDATE_INFO_DIR=no. Closes: #666901
+  * dh_md5sums: Don't skip DEBIAN directories other than the control files
+    one. Closes: #668276
 
  -- Joey Hess <joeyh@debian.org>  Mon, 26 Mar 2012 17:18:58 -0400
 
index a31d7154a9178aa0581c673c7d79309857d8dd17..4a1264be9f373e66b1eddf8ac82b37bacaf36987 100755 (executable)
@@ -75,7 +75,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                $exclude.="! \\( $dh{EXCLUDE_FIND} \\) ";
        }
        
-       my $find="find . -type f $exclude ! -regex '.*/DEBIAN/.*' -printf '%P\\0'";
+       my $find="find . -type f $exclude ! -regex './DEBIAN/.*' -printf '%P\\0'";
        complex_doit("(cd $tmp >/dev/null ; $find | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null");
        # If the file's empty, no reason to waste inodes on it.
        if (-z "$tmp/DEBIAN/md5sums") {