aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-08-13 17:31:22 -0400
committerB. Watson <urchlay@slackware.uk>2026-08-13 17:31:22 -0400
commita9ab84bb0a21a70a56489898acf931a0d9e83963 (patch)
tree2b4c8525b7ac37c60815e50eadcc10b58336a365 /sbolint
parent78e5c7d512b86ea899ef07c24597e1b00ee4fc0c (diff)
downloadsbo-maintainer-tools-a9ab84bb0a21a70a56489898acf931a0d9e83963.tar.gz
sbolint: warn on typoed variable names: SLCKFLAGS, PRGMAN, PGK
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbolint b/sbolint
index cdf62da..4ae8b71 100755
--- a/sbolint
+++ b/sbolint
@@ -1557,6 +1557,8 @@ sub check_script {
if(!chown_ok($_)) {
log_warning("$file:$lineno: chown should use : instead of . for user:group separator");
}
+ } elsif(/^[^#]*(SLCKFLAGS|PRGMAN|PGK)/) {
+ log_warning("$file:$lineno: $1 looks like a typo");
}
if(/^[^#]*<documentation>/) {