]> git.0d.be Git - empathy.git/blob - tools/check-whitespace.sh
Import tools from telepathy-glib 0.7.3 and build a static libemp-extensions.la.
[empathy.git] / tools / check-whitespace.sh
1 #!/bin/sh
2
3 fail=0
4
5 if grep -n ' $' "$@"
6 then
7   echo "^^^ The above files contain unwanted trailing spaces"
8   fail=1
9 fi
10
11 if grep -n '    ' "$@"
12 then
13   echo "^^^ The above files contain tabs"
14   fail=1
15 fi
16
17 exit $fail