diff options
author | yopito <pierre.bourgin@free.fr> | 2017-09-24 16:11:59 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-09-24 18:58:00 +0200 |
commit | 888de285b952592a5cda3920c9f4057e2b590ebc (patch) | |
tree | 67531e7148a1a983718ceaa53d1ffed8c37f8c9c | |
parent | 7fd23d80baaf043c607faaf9094e97fbd0a1ff8b (diff) | |
download | xtools-888de285b952592a5cda3920c9f4057e2b590ebc.tar.gz xtools-888de285b952592a5cda3920c9f4057e2b590ebc.tar.xz xtools-888de285b952592a5cda3920c9f4057e2b590ebc.zip |
xlint: version must not contain or use shell substitution mechanism
Closes: #67 [via git-merge-pr]
-rwxr-xr-x | xlint | 1 |
1 files changed, 1 insertions, 0 deletions
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" |