diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2014-11-28 20:04:06 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2014-11-28 20:04:06 +0100 |
commit | 91cc89d942ca10ed89a25a2ae414c4d9b64dd700 (patch) | |
tree | 73007ac9375dc0bc2b28843d5dbe340a32c551de | |
parent | 5eff9daec53677c684564911b2771821a2abcdae (diff) | |
download | xtools-91cc89d942ca10ed89a25a2ae414c4d9b64dd700.tar.gz xtools-91cc89d942ca10ed89a25a2ae414c4d9b64dd700.tar.xz xtools-91cc89d942ca10ed89a25a2ae414c4d9b64dd700.zip |
xlint: check for vlicense (fixes #5)
-rwxr-xr-x | xlint | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlint b/xlint index ae3df3d..90e00fa 100755 --- a/xlint +++ b/xlint @@ -99,6 +99,9 @@ for template; do scan 'short_desc=["'\''].{72}' "short_desc should be less than 72 chars" scan 'license=.*[^L]GPL[^-]' "license GPL without version" scan 'license=.*LGPL[^-]' "license LGPL without version" + if ! grep -q vlicense "$template"; then + scan 'license=.*custom' "license 'custom', but no use of vlicense" + fi scan 'vinstall.* usr/bin' "use vbin" scan 'vinstall.* usr/share/man' "use vman" scan 'vinstall.* usr/share/licenses' "use vlicense" |