diff options
author | Toyam Cox <Vaelatern@gmail.com> | 2016-03-30 01:36:02 -0400 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-03-30 19:11:48 +0200 |
commit | 213c42fe1ffba8441321bc63a1acc1ac915e7ee2 (patch) | |
tree | 27661c465384b50e72487f4c75df3c45a2a73cae | |
parent | 84c4c68b88252247a518aafa3672dce9244455c7 (diff) | |
download | xtools-213c42fe1ffba8441321bc63a1acc1ac915e7ee2.tar.gz xtools-213c42fe1ffba8441321bc63a1acc1ac915e7ee2.tar.xz xtools-213c42fe1ffba8441321bc63a1acc1ac915e7ee2.zip |
xlint: fix version special char check
Closes: #40 [via git-merge-pr]
-rwxr-xr-x | xlint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlint b/xlint index a6363bc..64b82a4 100755 --- a/xlint +++ b/xlint @@ -149,7 +149,7 @@ for template; do scan '[\t ]$' "trailing whitespace" 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 contain the characters : or -" scan 'replaces=(?=.*\w)[^<>]*$' "replaces needs depname with version" scan 'maintainer=(?!.*<.*@.*>).*' "maintainer needs email address" scan 'nonfree=' "use repository=nonfree" |