summaryrefslogtreecommitdiff
path: root/dh_md5sums
diff options
context:
space:
mode:
authorjoey <joey>2005-04-14 17:56:57 +0000
committerjoey <joey>2005-04-14 17:56:57 +0000
commit14d0783a65e1feff79a3534e3ec5bd14733d3d9a (patch)
tree968eb5c8b20663ea10d21dee372d2ad25f21d25f /dh_md5sums
parent5b7ac1ae5b74507930d42c9bbc7c9d52d0b06f89 (diff)
r1748: releasing version 4.2.33
Diffstat (limited to 'dh_md5sums')
-rwxr-xr-xdh_md5sums4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_md5sums b/dh_md5sums
index 91c217e2..8fd8b2eb 100755
--- a/dh_md5sums
+++ b/dh_md5sums
@@ -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");