]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_md5sums
r1747: * dh_md5sums: Don't pass "." to find, so results don't have ./ prepended,
[debhelper.git] / dh_md5sums
index 0619a3bae2337063f5bce1df6942d8c7a6782bb1..91c217e20ad8a66b3211b6e46b9113e0a9a59186 100755 (executable)
@@ -73,7 +73,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        }
        
        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 ; 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");