Commit 68c019a5 authored by Bruce Momjian's avatar Bruce Momjian

Add another pgdefine path check, and a cvs-git change.

parent e7088713
......@@ -5,7 +5,7 @@
mkid `find \`pwd\`/ \( -name _deadcode -a -prune \) -o \
-type f -name '*.[chyl]' -print|sed 's;//;/;g'`
find . -name 'CVS' -prune -o -type d -print |while read DIR
find . \( -name .git -a -prune \) -o -type d -print |while read DIR
do
[ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/ID $DIR/ID
done
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment