diff options
| -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"); } } |
