summaryrefslogtreecommitdiff
path: root/dh_md5sums
diff options
context:
space:
mode:
Diffstat (limited to 'dh_md5sums')
-rwxr-xr-xdh_md5sums2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_md5sums b/dh_md5sums
index a31d7154..4a1264be 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") {