diff options
Diffstat (limited to 'pkgtools/pkglint/files')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index c73c485c2b9..ba65e142a4b 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.568 2006/05/01 13:47:54 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.569 2006/05/01 18:08:00 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -4150,8 +4150,8 @@ sub checkfile_buildlink3_mk($) { # Comments and empty lines are fine here. } else { - $lines->[$lineno]->log_warning("Unexpected line."); - return; + $opt_debug and $lines->[$lineno]->log_warning("Unexpected line."); + $lineno++; } } expect_empty_line($lines, \$lineno); |