From 9d6398889fce9a0e119e3d599dc93fec44b5fe07 Mon Sep 17 00:00:00 2001 From: Duncan Overbruck Date: Wed, 15 Feb 2023 18:25:15 +0100 Subject: xlint: anchor revision must not be zero pattern --- xlint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlint') diff --git a/xlint b/xlint index 34ca604..7ab4da7 100755 --- a/xlint +++ b/xlint @@ -441,7 +441,7 @@ for argument; do scan '[\t ]$' "trailing whitespace" scan '[^\\]`' "use \$() instead of backticks" scan '^pkgname="[^$]+"' "pkgname must not be quoted" - scan 'revision=0' "revision must not be zero" + scan '^revision=0' "revision must not be zero" 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" -- cgit 1.4.1