aboutsummaryrefslogtreecommitdiff
path: root/sbolint
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-09-15 01:20:58 -0400
committerB. Watson <urchlay@slackware.uk>2026-09-15 01:20:58 -0400
commit71c245be5c5dc90832885e379bb1290bfd4ca6e4 (patch)
treed49c37137ef04353a1935700da1dced5ca7e09ca /sbolint
parent8f5089895200ade16e04986b71feb8c3bcb75ef4 (diff)
downloadsbo-maintainer-tools-71c245be5c5dc90832885e379bb1290bfd4ca6e4.tar.gz
sbolint: fix REQUIRES check.
Diffstat (limited to 'sbolint')
-rwxr-xr-xsbolint4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbolint b/sbolint
index 16b82f2..8a4463a 100755
--- a/sbolint
+++ b/sbolint
@@ -1221,8 +1221,8 @@ sub check_info {
log_error("$file: PRGNAM has invalid characters, only A-Z, a-z, 0-9, - + . _ are allowed");
}
- if($info{REQUIRES} =~ /[^- +._A-Za-z0-9]/) {
- log_error("$file: REQUIRES has invalid characters, only space, A-Z, a-z, 0-9, - + . _ are allowed");
+ if($info{REQUIRES} =~ /[^- %+._A-Za-z0-9]/) {
+ log_error("$file: REQUIRES has invalid characters, only space, A-Z, a-z, 0-9, - + . _ % are allowed");
}
if($info{VERSION} =~ /-/) {