diff options
author | Duncan Overbruck <mail@duncano.de> | 2023-02-15 18:25:15 +0100 |
---|---|---|
committer | Toyam Cox <aviator45003@gmail.com> | 2023-02-15 14:21:43 -0500 |
commit | 9d6398889fce9a0e119e3d599dc93fec44b5fe07 (patch) | |
tree | 4051340b0fcadb1a0465d7d5ab05db0a33fafe3b | |
parent | 714a2f30c1479865bc1b157c4b2165ce091b0ed8 (diff) | |
download | xtools-9d6398889fce9a0e119e3d599dc93fec44b5fe07.tar.gz xtools-9d6398889fce9a0e119e3d599dc93fec44b5fe07.tar.xz xtools-9d6398889fce9a0e119e3d599dc93fec44b5fe07.zip |
xlint: anchor revision must not be zero pattern
-rwxr-xr-x | xlint | 2 |
1 files changed, 1 insertions, 1 deletions
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" |