[postgis-tickets] r15824 - Make check-no-trailing-blanks implementation POSIX compliant

Sandro Santilli strk at kbt.io
Tue Sep 26 06:35:11 PDT 2017


Author: strk
Date: 2017-09-26 06:35:11 -0700 (Tue, 26 Sep 2017)
New Revision: 15824

Modified:
   branches/2.4/GNUmakefile.in
Log:
Make check-no-trailing-blanks implementation POSIX compliant

Modified: branches/2.4/GNUmakefile.in
===================================================================
--- branches/2.4/GNUmakefile.in	2017-09-26 13:34:36 UTC (rev 15823)
+++ branches/2.4/GNUmakefile.in	2017-09-26 13:35:11 UTC (rev 15824)
@@ -42,7 +42,7 @@
 		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



More information about the postgis-tickets mailing list