From 70579b3b6c16596118bf3a5415f3a85d2c532aa8 Mon Sep 17 00:00:00 2001 From: Piotr Wójcik Date: Tue, 11 Dec 2018 17:50:41 +0100 Subject: xlint: reject underscore in version Closes: #110 [via git-merge-pr] --- xlint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit 1.4.1