]> granicus.if.org Git - postgresql/commitdiff
Improve script by processing only C files.
authorBruce Momjian <bruce@momjian.us>
Mon, 10 Jul 2006 16:07:24 +0000 (16:07 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 10 Jul 2006 16:07:24 +0000 (16:07 +0000)
src/tools/pginclude/pgfixinclude

index aa2a313722ad0090143ff8dc32c2f4dcf5f0028d..3f081a49971c67f22fce0edc01a35fdd46dc2f31 100755 (executable)
@@ -1,9 +1,9 @@
 :
 # change #include's to <> or ""
-# $PostgreSQL: pgsql/src/tools/pginclude/pgfixinclude,v 1.5 2006/03/11 04:38:42 momjian Exp $
+# $PostgreSQL: pgsql/src/tools/pginclude/pgfixinclude,v 1.6 2006/07/10 16:07:24 momjian Exp $
 
 trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
-find . \( -name CVS -a -prune \) -o -type f -print |
+find . \( -name CVS -a -prune \) -o -type f -name '*.[chyls]' -print |
 while read FILE
 do
        cat "$FILE" | grep "^#include" |