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

Sandro Santilli strk at kbt.io
Tue Sep 26 06:34:36 PDT 2017


Author: strk
Date: 2017-09-26 06:34:36 -0700 (Tue, 26 Sep 2017)
New Revision: 15823

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

Modified: trunk/GNUmakefile.in
===================================================================
--- trunk/GNUmakefile.in	2017-09-26 08:26:42 UTC (rev 15822)
+++ trunk/GNUmakefile.in	2017-09-26 13:34:36 UTC (rev 15823)
@@ -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