aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-02-14 03:37:24 -0500
committerB. Watson <urchlay@slackware.uk>2023-02-14 03:37:24 -0500
commitdecb2fa1e8081ee588e7681368e372a2b22a5490 (patch)
treebca2332503eebbb0c920022bcdf1dc4fa4b4739f
parentce96974aa8c63529b5680937b1f9ed70468c5fd7 (diff)
downloadsbo-maintainer-tools-decb2fa1e8081ee588e7681368e372a2b22a5490.tar.gz
sbolint: demote CWD= to a warning, allow ARCH:=
-rwxr-xr-xsbolint4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbolint b/sbolint
index 247c9cb..872e056 100755
--- a/sbolint
+++ b/sbolint
@@ -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;
}
}