diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-08-13 17:31:22 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-08-13 17:31:22 -0400 |
| commit | a9ab84bb0a21a70a56489898acf931a0d9e83963 (patch) | |
| tree | 2b4c8525b7ac37c60815e50eadcc10b58336a365 | |
| parent | 78e5c7d512b86ea899ef07c24597e1b00ee4fc0c (diff) | |
| download | sbo-maintainer-tools-a9ab84bb0a21a70a56489898acf931a0d9e83963.tar.gz | |
sbolint: warn on typoed variable names: SLCKFLAGS, PRGMAN, PGK
| -rwxr-xr-x | sbolint | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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>/) { |
