about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xxlint2
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"