[postgis-tickets] r15751 - Fix check-no-trailing-blanks to check for .c, not .cpp files

Sandro Santilli strk at kbt.io
Sun Sep 17 13:59:27 PDT 2017


Author: strk
Date: 2017-09-17 13:59:27 -0700 (Sun, 17 Sep 2017)
New Revision: 15751

Modified:
   trunk/GNUmakefile.in
Log:
Fix check-no-trailing-blanks to check for .c, not .cpp files

Modified: trunk/GNUmakefile.in
===================================================================
--- trunk/GNUmakefile.in	2017-09-17 20:59:20 UTC (rev 15750)
+++ trunk/GNUmakefile.in	2017-09-17 20:59:27 UTC (rev 15751)
@@ -38,7 +38,7 @@
 check: all docs-check check-no-trailing-blanks
 
 check-no-trailing-blanks:
-	! find . -name '*.cpp' -o -name '*.h' | \
+	! find . -name '*.c' -o -name '*.h' | \
 		grep -vf .gitignore | \
 		xargs grep -Pn '[\t ]$$'
 



More information about the postgis-tickets mailing list