From aa9603b62dd1893eb3fdcd357397ba20c733da43 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 24 Jun 2009 11:25:52 +0100 Subject: check-whitespace.sh: check trailing tabs --- tools/check-whitespace.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3