diff options
author | Piotr Wójcik <chocimier@tlen.pl> | 2018-12-11 17:50:41 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-03-26 15:41:29 +0100 |
commit | 70579b3b6c16596118bf3a5415f3a85d2c532aa8 (patch) | |
tree | b60f17fbe4ea13a98b44e2d3250db31fa0571209 | |
parent | 601c93bd27315e9876431fce46f58f564272800d (diff) | |
download | xtools-70579b3b6c16596118bf3a5415f3a85d2c532aa8.tar.gz xtools-70579b3b6c16596118bf3a5415f3a85d2c532aa8.tar.xz xtools-70579b3b6c16596118bf3a5415f3a85d2c532aa8.zip |
xlint: reject underscore in version
Closes: #110 [via git-merge-pr]
-rwxr-xr-x | xlint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlint b/xlint index 422e367..7317edb 100755 --- a/xlint +++ b/xlint @@ -418,7 +418,7 @@ for argument; do scan '[^\\]`' "use \$() instead of backticks" scan '^pkgname="[^$]+"' "pkgname must not be quoted" scan 'revision=0' "revision must not be zero" - scan '^version=.*[:-].*' "version must not contain the characters : or -" + scan '^version=.*[-:_].*' "version must not contain the characters - or : or _" scan '^version=.*\${.*[:!#%/^,@].*}.*' "version must not use shell variable substitution mechanism" scan '^version="[^$]+"' "version must not be quoted" scan '^reverts=.*-.*' "reverts must not contain package name" |