From 002c0fd2cbe01eac12c80d47b852cfa88102d36d Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 16 Jun 2015 18:15:19 +0200 Subject: xlint: fix false positive detecting pycompile_version= as version=. --- xlint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit 1.4.1