1
0
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:
Bruce Momjian
2011-08-26 21:52:35 -04:00
parent e7088713cd
commit 68c019a538
3 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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;