Also be forgiving of a missing .gitignore (but then tests will
fail due to generated files possibly having trailing blanks)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15821
b70326c6-7e19-0410-871a-
916f4a2858ee
check-no-trailing-blanks:
! find . -name '*.c' -o -name '*.h' | \
- grep -vf .gitignore | \
+ grep -v lwin_wkt_lex.c | \
+ grep -v lwin_wkt_parse | \
+ if test -f .gitignore; then grep -vf .gitignore; else cat; fi | \
xargs grep -Pn '[\t ]$$'
installcheck: