summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2014-10-11 21:21:00 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2014-10-11 21:21:00 +0200
commit33827c8bac5f8c37b31bceed18a7b0e42fc4542c (patch)
tree57879d5a259d22bc5c337ebdb41338863c27842e
parent0db946f4077b17427f0ec63cff2fce828d746424 (diff)
downloadxtools-33827c8bac5f8c37b31bceed18a7b0e42fc4542c.tar.gz
xtools-33827c8bac5f8c37b31bceed18a7b0e42fc4542c.tar.xz
xtools-33827c8bac5f8c37b31bceed18a7b0e42fc4542c.zip
xlint: detect trailing whitespace
-rwxr-xr-xxlint1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlint b/xlint
index 083dc53..dea7eae 100755
--- a/xlint
+++ b/xlint
@@ -87,6 +87,7 @@ for template; do
 	scan 'vinstall.* usr/share/man' "use vman" -1
 	scan 'vinstall.* usr/share/licenses' "use vlicense" -1
 	scan '^  ' "indent with tabs"
+	scan '[\t ]$' "trailing whitespace" -1
 	scan '`' "use \$() instead of backticks" -1
 	scan 'replaces=[^<>]*$' "replaces needs depname with version"
 	scan 'conflicts=[^<>]*$' "conflicts needs depname with version"