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 68979ef..6b7a37a 100755
--- a/xlint
+++ b/xlint
@@ -131,7 +131,7 @@ for template; do
 	if ! grep -q vlicense "$template"; then
 		scan 'license=.*custom' "license 'custom', but no use of vlicense"
 	fi
-	if ! sed -n '/version=/{n;/revision=/b;q1}' "$template"; then
+	if ! sed -n '/^version=/{n;/revision=/b;q1}' "$template"; then
 		scan 'revision=' "revision does not appear immediately after version"
 	fi
 	scan 'vinstall.* usr/bin' "use vbin"