From 888de285b952592a5cda3920c9f4057e2b590ebc Mon Sep 17 00:00:00 2001 From: yopito Date: Sun, 24 Sep 2017 16:11:59 +0200 Subject: xlint: version must not contain or use shell substitution mechanism Closes: #67 [via git-merge-pr] --- xlint | 1 + 1 file changed, 1 insertion(+) (limited to 'xlint') diff --git a/xlint b/xlint index 8c47837..c468288 100755 --- a/xlint +++ b/xlint @@ -153,6 +153,7 @@ for template; do scan '[^\\]`' "use \$() instead of backticks" scan 'revision=0' "revision must not be zero" scan '^version=.*[:-].*' "version must not contain the characters : or -" + scan '^version=.*\${.*[:!#%/^,@].*}.*' "version must not use shell variable substitution mechanism" scan '^reverts=.*-.*' "reverts must not contain package name" scan '^reverts=(?!.*_.*).*' "reverts without revision" scan 'replaces=(?=.*\w)[^<>]*$' "replaces needs depname with version" -- cgit 1.4.1