summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2014-10-11 23:37:42 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2014-10-11 23:37:42 +0200
commit078a7cab6ca6825789f8473e472d33b0a7d533ea (patch)
tree62c6a3dbb2e04e5ba1b4768ac4f3a406636758e2
parent341597e1f88da31840e713526dc40857d0acbd0a (diff)
downloadxtools-078a7cab6ca6825789f8473e472d33b0a7d533ea.tar.gz
xtools-078a7cab6ca6825789f8473e472d33b0a7d533ea.tar.xz
xtools-078a7cab6ca6825789f8473e472d33b0a7d533ea.zip
xlint: detect GPL/LGPL without version
-rwxr-xr-xxlint3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlint b/xlint
index 5471a48..bd1ccc1 100755
--- a/xlint
+++ b/xlint
@@ -84,7 +84,8 @@ for template; do
 	scan 'short_desc=.*\."' "unwanted trailing dot in short_desc"
 	scan 'short_desc=["'\''][a-z]' "short_desc should start uppercase"
 	scan 'short_desc=["'\''].{72}' "short_desc should be less than 72 chars"
-	scan 'license=.*GPL[^-]' "license GPL without version"
+	scan 'license=.*[^L]GPL[^-]' "license GPL without version"
+	scan 'license=.*LGPL[^-]' "license LGPL without version"
 	scan 'vinstall.* usr/bin' "use vbin" -1
 	scan 'vinstall.* usr/share/man' "use vman" -1
 	scan 'vinstall.* usr/share/licenses' "use vlicense" -1