diff options
-rwxr-xr-x | sbolint | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -835,7 +835,6 @@ sub check_info { return unless scalar @lines; my $lineno = 0; - my $file_lineno = 0; my @expected = qw/PRGNAM VERSION HOMEPAGE DOWNLOAD MD5SUM DOWNLOAD_x86_64 MD5SUM_x86_64 @@ -848,14 +847,11 @@ sub check_info { # parse and bitch about bad syntax... for(@lines) { - $file_lineno++; + $lineno++; if($continuation) { s/^\s*//; $_ = "$continuation $_"; $continuation = 0; - $lineno = $file_lineno - 1; - } else { - $lineno = $file_lineno; } if(s/\s*\\$//) { |