From 10e36f8defc73038e11536da8bc8433acfaad13d Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 26 Sep 2017 13:57:05 +0000 Subject: [PATCH] Do not use .gitignore for checking trailing blank spaces Manually ignore files instead. Re-using .gitignore patterns isn't easy for grep. git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@15828 b70326c6-7e19-0410-871a-916f4a2858ee --- GNUmakefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index faf4f292a..0c7fd8af9 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -41,7 +41,8 @@ check-no-trailing-blanks: ! find . -name '*.c' -o -name '*.h' | \ grep -v lwin_wkt_lex.c | \ grep -v lwin_wkt_parse | \ - if test -f .gitignore; then grep -vf .gitignore; else cat; fi | \ + grep -v postgis_config.h | \ + grep -v postgis/sqldefines.h | \ xargs grep -n '[[:space:]]$$' installcheck: -- 2.50.1