summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2006-07-10 17:08:38 +0000
committerBruce Momjian2006-07-10 17:08:38 +0000
commit929e45012c2a121b324d46e567da91b1ff620a96 (patch)
tree2529bdedfb6c3cfd29ffd77a4dea641b5794af64
parent9d7717e3adc0f2dc542aa4afb9293b470fcf108c (diff)
Fix 'find' args for pgcompinclude tool.
-rwxr-xr-xsrc/tools/pginclude/pgcompinclude2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/pginclude/pgcompinclude b/src/tools/pginclude/pgcompinclude
index 0a346b28ae..c85a581e49 100755
--- a/src/tools/pginclude/pgcompinclude
+++ b/src/tools/pginclude/pgcompinclude
@@ -4,7 +4,7 @@
# $PostgreSQL$
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a" 0 1 2 3 15
-find . \( -name CVS -a -prune \) -o -name '*.[ch]' -type f -print | while read FILE
+find . \( -name CVS -a -prune \) -o -name '*.h' -type f -print | while read FILE
do
sed 's/->[a-zA-Z0-9_\.]*//g' "$FILE" >/tmp/$$a
echo "#include \"postgres.h\"" >/tmp/$$.c