X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_md5sums;fp=dh_md5sums;h=992de40dc9e448890460957477963a847b6333dc;hb=d7b306162c16a3d261fe6c7420ac484ac3d9f3ea;hp=51bd54c807e5848540505a2a485a839317f89033;hpb=625338331a19fff4be0d0e70f3ea19fbc5630d4e;p=debhelper.git diff --git a/dh_md5sums b/dh_md5sums index 51bd54c..992de40 100755 --- a/dh_md5sums +++ b/dh_md5sums @@ -70,7 +70,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } my $olddir=getcwd(); - complex_doit("cd $tmp >/dev/null ; find * -type f $exclude ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums ; cd $olddir >/dev/null"); + complex_doit("cd $tmp >/dev/null ; find * -type f $exclude ! -regex '^DEBIAN/.*' -print0 | 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");