updated whitespace.sh

pull/2/head
Hari Sekhon 9 years ago
parent b5f56d02fe
commit b7b7f092d2

@ -19,7 +19,7 @@ srcdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. "$srcdir/excluded.sh"
found=0
for filename in $(find "${1:-.}" -type f | grep -v -e Makefile -e '\.git'); do
for filename in $(find "${1:-.}" -type f | grep -v -e Makefile -e '/\.'); do
isExcluded "$filename" && continue
grep -Hn '^[[:space:]]\+$' "$filename" && found=1 || :
done

Loading…
Cancel
Save