aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsbolint6
1 files changed, 1 insertions, 5 deletions
diff --git a/sbolint b/sbolint
index d40a561..635e206 100755
--- a/sbolint
+++ b/sbolint
@@ -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*\\$//) {