summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2006-07-10 16:07:24 +0000
committerBruce Momjian2006-07-10 16:07:24 +0000
commitec825a479e09d4af81e6357e43b39edcc050f493 (patch)
treec4d3ab1a0d55102527aeaa827326c4191d19a31b
parent018bdcc4799d93ee6185f32c89e4ad6b4d08a403 (diff)
Improve script by processing only C files.
-rwxr-xr-xsrc/tools/pginclude/pgfixinclude2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/pginclude/pgfixinclude b/src/tools/pginclude/pgfixinclude
index de8e965e09..f9aaf7a686 100755
--- a/src/tools/pginclude/pgfixinclude
+++ b/src/tools/pginclude/pgfixinclude
@@ -3,7 +3,7 @@
# $PostgreSQL$
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" |