summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-06-24 11:25:52 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-06-24 17:32:29 +0100
commitaa9603b62dd1893eb3fdcd357397ba20c733da43 (patch)
tree21f9dd9b2e07fc7ef7f222f12db292f09e4d789d /tools
parent49e8e15aebd530dc21ad4c5a41679d2354355e40 (diff)
downloadtelepathy-account-widgets-aa9603b62dd1893eb3fdcd357397ba20c733da43.tar.gz
check-whitespace.sh: check trailing tabs
Diffstat (limited to 'tools')
-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