mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
Add another pgdefine path check, and a cvs-git change.
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
# takes -v option to display compile failure message and line numbers
|
||||
# src/tools/pginclude/pgcompinclude
|
||||
|
||||
if ! pgdefine
|
||||
then echo "pgdefine must be in your PATH" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a" 0 1 2 3 15
|
||||
find . \( -name .git -a -prune \) -o -name '*.h' -type f -print | while read FILE
|
||||
do
|
||||
|
@@ -6,8 +6,6 @@ then echo "pgdefine must be in your PATH" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# src/tools/pginclude/pgrminclude
|
||||
|
||||
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
|
||||
# do include files first
|
||||
(find . \( -name .git -a -prune \) -o -type f -name '*.h' -print;
|
||||
|
Reference in New Issue
Block a user