]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_md5sums
r467: * dh_installinfo: doc enchancement, Closes: #97515
[debhelper.git] / dh_md5sums
index 51bd54c807e5848540505a2a485a839317f89033..992de40dc9e448890460957477963a847b6333dc 100755 (executable)
@@ -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");