X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_md5sums;h=4a1264be9f373e66b1eddf8ac82b37bacaf36987;hb=18a0da8092ea9f3dc48bca92b36f592af25a608d;hp=a31d7154a9178aa0581c673c7d79309857d8dd17;hpb=0952ac2e9995da8abe149f3e42b3b8d9d2797112;p=debhelper.git diff --git a/dh_md5sums b/dh_md5sums index a31d715..4a1264b 100755 --- a/dh_md5sums +++ b/dh_md5sums @@ -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") {