From d7b306162c16a3d261fe6c7420ac484ac3d9f3ea Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 15 May 2001 01:28:29 +0000 Subject: 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 --- dh_md5sums | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_md5sums') diff --git a/dh_md5sums b/dh_md5sums index 51bd54c8..992de40d 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"); -- cgit v1.2.3