Skip to content

Commit 987214b

Browse files
committed
do include files first
1 parent 48423d9 commit 987214b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/tools/pginclude/pgrminclude

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
:
22
# remove extra #include's
33

4+
pgdefine || (echo "pgdefine must be in your PATH" 1>&2; exit 1)
5+
46
# src/tools/pginclude/pgrminclude
57

68
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
7-
find . \( -name CVS -a -prune \) -o -type f -name '*.[ch]' -print |
9+
# do include files first
10+
(find . \( -name .git -a -prune \) -o -type f -name '*.h' -print;
11+
find . \( -name .git -a -prune \) -o -type f -name '*.c' -print ) |
812
grep -v '\./postgres.h' |
913
grep -v '\./postgres_fe.h' |
1014
grep -v '\./pg_config.h' |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy