aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-06-24 18:25:52 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-06-25 00:32:29 +0800
commitaa9603b62dd1893eb3fdcd357397ba20c733da43 (patch)
tree21f9dd9b2e07fc7ef7f222f12db292f09e4d789d
parent49e8e15aebd530dc21ad4c5a41679d2354355e40 (diff)
downloadgsoc2013-empathy-aa9603b62dd1893eb3fdcd357397ba20c733da43.tar
gsoc2013-empathy-aa9603b62dd1893eb3fdcd357397ba20c733da43.tar.gz
gsoc2013-empathy-aa9603b62dd1893eb3fdcd357397ba20c733da43.tar.bz2
gsoc2013-empathy-aa9603b62dd1893eb3fdcd357397ba20c733da43.tar.lz
gsoc2013-empathy-aa9603b62dd1893eb3fdcd357397ba20c733da43.tar.xz
gsoc2013-empathy-aa9603b62dd1893eb3fdcd357397ba20c733da43.tar.zst
gsoc2013-empathy-aa9603b62dd1893eb3fdcd357397ba20c733da43.zip
check-whitespace.sh: check trailing tabs
-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 84356f20b..489322f9c 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