dbus.service: Don't assume that exceptions passed to asynchronous callbacks are the...
[dbus-python-phuang.git] / tools / check-whitespace.sh
blob5348331261728883cdbb607eac0cbac725bec52b
1 #!/bin/sh
3 fail=0
5 if grep -n ' $' "$@"
6 then
7 echo "^^^ The above files contain unwanted trailing spaces"
8 fail=1
9 fi
11 if grep -n ' ' "$@"
12 then
13 echo "^^^ The above files contain tabs"
14 fail=1
17 exit $fail