diff options
author | B. Watson <urchlay@slackware.uk> | 2023-02-14 03:37:24 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2023-02-14 03:37:24 -0500 |
commit | decb2fa1e8081ee588e7681368e372a2b22a5490 (patch) | |
tree | bca2332503eebbb0c920022bcdf1dc4fa4b4739f | |
parent | ce96974aa8c63529b5680937b1f9ed70468c5fd7 (diff) | |
download | sbo-maintainer-tools-decb2fa1e8081ee588e7681368e372a2b22a5490.tar.gz |
sbolint: demote CWD= to a warning, allow ARCH:=
-rwxr-xr-x | sbolint | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1222,7 +1222,7 @@ sub check_script { } $makepkg = $lineno; } elsif(/^\s*?CWD=/) { - log_error("$file:$lineno: lone CWD= assignment not valid in 15.0 template"); + log_warning("$file:$lineno: lone CWD= assignment is redundant in 15.0 template"); } if(/^[^#]*<documentation>/) { @@ -1254,7 +1254,7 @@ sub check_script { } } - if((not defined $arch_lineno) && (/\bARCH=/)) { + if((not defined $arch_lineno) && (/\bARCH:?=/)) { $arch_lineno = $lineno; } } |