summaryrefslogtreecommitdiff
path: root/dh_md5sums
diff options
context:
space:
mode:
authorjoey <joey>2001-05-15 01:28:29 +0000
committerjoey <joey>2001-05-15 01:28:29 +0000
commitd7b306162c16a3d261fe6c7420ac484ac3d9f3ea (patch)
treecf81eaf64f1ba6642fa4a0a67872de7f83752275 /dh_md5sums
parent625338331a19fff4be0d0e70f3ea19fbc5630d4e (diff)
r467: * dh_installinfo: doc enchancement, Closes: #97515
* dh_md5sums: don't fail if pwd has spaces in it (must be scraping the bottom of the bug barrel here). Closes: #97404
Diffstat (limited to 'dh_md5sums')
-rwxr-xr-xdh_md5sums2
1 files changed, 1 insertions, 1 deletions
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");