mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 01:31:49 +02:00
Improve script by processing only C files.
This commit is contained in:
parent
7b96d337d0
commit
e627c9b9a6
@ -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" |
|
||||
|
Loading…
Reference in New Issue
Block a user