summaryrefslogtreecommitdiff
path: root/tools/check-whitespace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check-whitespace.sh')
-rw-r--r--tools/check-whitespace.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/check-whitespace.sh b/tools/check-whitespace.sh
index 84356f20..489322f9 100644
--- a/tools/check-whitespace.sh
+++ b/tools/check-whitespace.sh
@@ -8,6 +8,12 @@ then
fail=1
fi
+if grep -n ' $' "$@"
+then
+ echo "^^^ The above files contain unwanted trailing tabs"
+ fail=1
+fi
+
# TODO: enable tab checking once all Empathy switched to TP coding style
#if grep -n ' ' "$@"
#then