aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-08-19 01:14:07 -0400
committerB. Watson <urchlay@slackware.uk>2026-08-19 01:14:14 -0400
commitb7d71f2e342fa3bbcfa1afa957cfeea4584bc9b7 (patch)
tree9df210ac5f318a8bb2e6696dd83b994a41f5b5ee /sbolint
parent957905e2c2568ef9ea8a576d769553e8f82d90a5 (diff)
downloadsbo-maintainer-tools-b7d71f2e342fa3bbcfa1afa957cfeea4584bc9b7.tar.gz
sbolint: README length exception for export commands.
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbolint b/sbolint
index 132749d..d994a8d 100755
--- a/sbolint
+++ b/sbolint
@@ -957,7 +957,8 @@ sub check_readme {
# not much we can do about them.
# 20260608 bkw: also commands beginning with a prompt character,
# # or $.
- if(grep { !/^[#\$] / && !/^\s*(ftp|https?):\/\// && length > $maxlen } @lines) {
+ # 20260819 bkw: also 'export' commands (e.g. python3-cython-opt)
+ if(grep { !/^export\s+[A-Z]/ && !/^[#\$] / && !/^\s*(ftp|https?):\/\// && length > $maxlen } @lines) {
log_warning("README has lines >$maxlen characters");
}
}