summaryrefslogtreecommitdiff
path: root/dh_md5sums
diff options
context:
space:
mode:
authorjoey <joey>2005-04-21 01:13:20 +0000
committerjoey <joey>2005-04-21 01:13:20 +0000
commitedfc0cb9722290ab2a756ebfd40a9a45f74014ab (patch)
treebdcf31aab0eafc6c2f3bc0fcccaeb2d2f09c2de1 /dh_md5sums
parentbfad668fe8013de52b2f62017450da4f0e28f0f5 (diff)
r1751: releasing version 4.2.34
Diffstat (limited to 'dh_md5sums')
-rwxr-xr-xdh_md5sums3
1 files changed, 1 insertions, 2 deletions
diff --git a/dh_md5sums b/dh_md5sums
index 8fd8b2e..a53603e 100755
--- a/dh_md5sums
+++ b/dh_md5sums
@@ -72,8 +72,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
$exclude.="! \\( $dh{EXCLUDE_FIND} \\) ";
}
- 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) >/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");