8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48423d9 commit 987214bCopy full SHA for 987214b
src/tools/pginclude/pgrminclude
@@ -1,10 +1,14 @@
1
:
2
# remove extra #include's
3
4
+pgdefine || (echo "pgdefine must be in your PATH" 1>&2; exit 1)
5
+
6
# src/tools/pginclude/pgrminclude
7
8
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 -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 ) |
12
grep -v '\./postgres.h' |
13
grep -v '\./postgres_fe.h' |
14
grep -v '\./pg_config.h' |
0 commit comments