diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-04-06 21:48:48 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-04-06 21:48:48 -0400 |
commit | ddb8e2fdbe56d1b61b4e3528353bce267fa47aec (patch) | |
tree | 6c78f6ba84faa623449a7f2a761579e04a9743dd /dh_md5sums | |
parent | 5ae4e671267e94d9bc9a16633ece5d24d9876c94 (diff) | |
download | debhelper-ddb8e2fdbe56d1b61b4e3528353bce267fa47aec.tar.gz |
refactor to pass silly test suite length limit
Diffstat (limited to 'dh_md5sums')
-rwxr-xr-x | dh_md5sums | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"); |