[Reproducible-commits] [debhelper] 09/23: t/size: Ignore empty lines when counting size of a tool
Jérémy Bobbio
lunar at moszumanska.debian.org
Mon Dec 22 02:13:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository debhelper.
commit 93d8ba917f5bcb972cc1c791d4ba892277554fb3
Author: Niels Thykier <niels at thykier.net>
Date: Sun Nov 16 21:26:37 2014 +0100
t/size: Ignore empty lines when counting size of a tool
Signed-off-by: Niels Thykier <niels at thykier.net>
---
t/size | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/size b/t/size
index d8b9896..bf7847d 100755
--- a/t/size
+++ b/t/size
@@ -18,7 +18,7 @@ foreach my $file (@progs) {
while (<IN>) {
$cutting=1 if /^=/;
$cutting=0 if /^=cut/;
- next if $cutting || /^(=|\s*\#)/;
+ next if $cutting || /^(=|\s*\#)/ || /^\s*+$/;
$lines++;
$maxlength=length($_) if length($_) > $maxlength;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git
More information about the Reproducible-commits
mailing list