diff options
author | B. Watson <urchlay@slackware.uk> | 2024-04-02 18:30:31 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-04-02 18:30:31 -0400 |
commit | adce112d7e2f5d79f07f9ac9f9abaeee19778d07 (patch) | |
tree | 069af39759dfad5a483054fa7889abcbeec3833d /sbolint | |
parent | aaae2a487399cbb1220abe4a739534df79e65653 (diff) | |
download | sbo-maintainer-tools-adce112d7e2f5d79f07f9ac9f9abaeee19778d07.tar.gz |
sbolint: tighten "outdated ARCH" check (network/rtl8812bu was falsely failing).
Diffstat (limited to 'sbolint')
-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; } |