diff options
author | Joey Hess <joey@kitenet.net> | 2012-04-10 12:42:17 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-04-10 12:42:17 -0400 |
commit | 561b98cd1572b417d95d7844df797705c330053f (patch) | |
tree | 05573ec15f5044d32d2e0db88a07bca6f1f0efb4 /dh_md5sums | |
parent | be6ed31dcfda103270b09ebce11ff59ccb0a1cc5 (diff) |
dh_md5sums: Don't skip DEBIAN directories other than the control files one. Closes: #668276
Diffstat (limited to 'dh_md5sums')
-rwxr-xr-x | dh_md5sums | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") { |