aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-10-09 00:30:33 -0400
committerB. Watson <urchlay@slackware.uk>2024-10-09 00:30:33 -0400
commit756d134a3b8c03881461c3f63ca36bb88370a954 (patch)
tree5ab15d8767e657dff8124cbec29567435f8ee6aa /sbolint
parent00c1756b4289365ca5a6c89896027446bdb57c02 (diff)
downloadsbo-maintainer-tools-756d134a3b8c03881461c3f63ca36bb88370a954.tar.gz
sbolint: complain about chown with . instead of :
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbolint b/sbolint
index 4da2afa..7d0ad72 100755
--- a/sbolint
+++ b/sbolint
@@ -1465,6 +1465,8 @@ sub check_script {
$makepkg = $lineno;
} elsif(/^\s*?CWD=/) {
log_warning("$file:$lineno: lone CWD= assignment is redundant in 15.0 template");
+ } elsif(/^\s*?chown\s+[^#;]*\S+\.\S+/) {
+ log_warning("$file:$lineno: chown should use : instead of . for user:group separator");
}
if(/^[^#]*<documentation>/) {