diff options
-rwxr-xr-x | sbolint | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; } |