diff options
Diffstat (limited to 'dh_md5sums')
-rwxr-xr-x | dh_md5sums | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,7 +62,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { while (<CONFF>) { chomp; s/^\///; - $exclude.="! -path \"$_\" "; + $exclude.="! -path \"./$_\" "; } close CONFF; } @@ -73,7 +73,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } my $olddir=getcwd(); - complex_doit("cd $tmp >/dev/null ; find -type f $exclude ! -regex '.*/DEBIAN/.*' -printf '%P\\0' | xargs -r0 md5sum > DEBIAN/md5sums ; cd '$olddir' >/dev/null"); + complex_doit("cd $tmp >/dev/null ; find . -type f $exclude ! -regex '.*/DEBIAN/.*' -printf '%P\\0' | xargs -r0 md5sum > DEBIAN/md5sums ; cd '$olddir' >/dev/null"); # If the file's empty, no reason to waste inodes on it. if (-z "$tmp/DEBIAN/md5sums") { doit("rm","-f","$tmp/DEBIAN/md5sums"); |