aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbolint b/sbolint
index e08703f..6a021e0 100755
--- a/sbolint
+++ b/sbolint
@@ -1490,7 +1490,9 @@ sub check_script {
$arch_lineno = $lineno;
}
- if(/^[^#]*\bARCH=['"]?i[34]86/) {
+ # 20240402 bkw: we have a few scripts that do things like "ARCH=i386 make",
+ # this line should only detect bare assignments or "case".
+ if(/^[^#]*\bARCH=['"]?i[34]86['"]?[;\s]*$/) {
$old_arch = $lineno;
}