]> granicus.if.org Git - postgis/commitdiff
Make check-no-trailing-blanks implementation POSIX compliant
authorSandro Santilli <strk@kbt.io>
Tue, 26 Sep 2017 13:34:36 +0000 (13:34 +0000)
committerSandro Santilli <strk@kbt.io>
Tue, 26 Sep 2017 13:34:36 +0000 (13:34 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15823 b70326c6-7e19-0410-871a-916f4a2858ee

GNUmakefile.in

index 6052816555a63583ce54f9aeb99c7c2e95506257..faf4f292a3bfcd81b611179a2f68eb44f060538f 100644 (file)
@@ -42,7 +42,7 @@ check-no-trailing-blanks:
                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 ]$$'
+               xargs grep -n '[[:space:]]$$'
 
 installcheck:
        RUNTESTFLAGS="$(RUNTESTFLAGS) --extension" $(MAKE) check