From: Joey Hess Date: Wed, 7 Apr 2010 01:48:48 +0000 (-0400) Subject: refactor to pass silly test suite length limit X-Git-Tag: 7.4.16~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ddb8e2fdbe56d1b61b4e3528353bce267fa47aec;p=debhelper.git refactor to pass silly test suite length limit --- diff --git a/dh_md5sums b/dh_md5sums index ba1adf4..56d1252 100755 --- a/dh_md5sums +++ b/dh_md5sums @@ -75,7 +75,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { $exclude.="! \\( $dh{EXCLUDE_FIND} \\) "; } - complex_doit("(cd $tmp >/dev/null ; find . -type f $exclude ! -regex '.*/DEBIAN/.*' -printf '%P\\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null"); + my $find="find . -type f $exclude ! -regex '.*/DEBIAN/.*' -printf '%P\\0'"; + complex_doit("(cd $tmp >/dev/null ; $find | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/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");