From 7bf320dd5c5f4995c4a03d3c14c8d70d5443480e Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 15 Nov 2002 18:14:59 +0000 Subject: r563: * dh_install: Support autodest with non-debian/tmp sourcedirs. Closes: #169138 * dh_install: Support implicit "." sourcedir and --list-missing. (Also supports ./foo file specs and --list-missing.) Closes: #168751 * dh_md5sums: Don't glob. Closes: #169135 --- dh_md5sums | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_md5sums') diff --git a/dh_md5sums b/dh_md5sums index 2fc6f4ab..616a8d89 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/.*' -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"); -- cgit v1.2.3