aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-24 12:49:30 -0400
committerB. Watson <yalhcru@gmail.com>2017-03-24 12:49:30 -0400
commitf647eb20053df41b76de46a0f8b244315ff6495e (patch)
treed894b02bd81044559a0f15c84f1cf6e2030269c8
parent2f947ddf32f47f570855eeaed6635930b9767870 (diff)
downloadsbostuff-f647eb20053df41b76de46a0f8b244315ff6495e.tar.gz
sbolint: support 64-bit-only builds, fix mismatched () in warning
-rwxr-xr-xsbolint4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbolint b/sbolint
index fdd4a13..a4c8428 100755
--- a/sbolint
+++ b/sbolint
@@ -810,7 +810,7 @@ sub check_info {
}
if($info{MD5SUM} =~ /^\s*$/) {
- log_error("$file: MD5SUM is missing or blank");
+ log_error("$file: MD5SUM is missing or blank") unless $info{DOWNLOAD} eq 'UNSUPPORTED';
} else {
check_dl_and_md5($file, "");
}
@@ -924,7 +924,7 @@ sub check_script {
} elsif(/^VERSION=(\S+)/) {
$version = dequote($1);
if(not ($version =~ s/\$\{VERSION:-([^}]+)\}/$1/)) {
- log_warning("$file:$lineno: VERSION ignores environment (try VERSION=\${VERSION:-$version}");
+ log_warning("$file:$lineno: VERSION ignores environment, try VERSION=\${VERSION:-$version}");
}
$version = dequote($1);
if($version ne $info{VERSION}) {