]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_md5sums
dh_md5sums: Don't skip DEBIAN directories other than the control files one. Closes...
[debhelper.git] / dh_md5sums
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") {