From 213c42fe1ffba8441321bc63a1acc1ac915e7ee2 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Wed, 30 Mar 2016 01:36:02 -0400 Subject: xlint: fix version special char check Closes: #40 [via git-merge-pr] --- xlint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlint') diff --git a/xlint b/xlint index a6363bc..64b82a4 100755 --- a/xlint +++ b/xlint @@ -149,7 +149,7 @@ for template; do scan '[\t ]$' "trailing whitespace" scan '[^\\]`' "use \$() instead of backticks" 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 -" scan 'replaces=(?=.*\w)[^<>]*$' "replaces needs depname with version" scan 'maintainer=(?!.*<.*@.*>).*' "maintainer needs email address" scan 'nonfree=' "use repository=nonfree" -- cgit 1.4.1