diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-08-19 01:14:07 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-08-19 01:14:14 -0400 |
| commit | b7d71f2e342fa3bbcfa1afa957cfeea4584bc9b7 (patch) | |
| tree | 9df210ac5f318a8bb2e6696dd83b994a41f5b5ee /sbolint | |
| parent | 957905e2c2568ef9ea8a576d769553e8f82d90a5 (diff) | |
| download | sbo-maintainer-tools-b7d71f2e342fa3bbcfa1afa957cfeea4584bc9b7.tar.gz | |
sbolint: README length exception for export commands.
Diffstat (limited to 'sbolint')
| -rwxr-xr-x | sbolint | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"); } } |
