Make pgindent gnu test better.

This commit is contained in:
Bruce Momjian 1999-09-09 19:39:06 +00:00
parent 5bc0d31ae8
commit c1d5e88b41
2 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.57 1999/07/20 02:42:19 momjian Exp $ # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.58 1999/09/09 19:39:00 momjian Exp $
# #
# NOTES # NOTES
# Essentially all Postgres make files include this file and use the # Essentially all Postgres make files include this file and use the
@ -147,6 +147,7 @@ USE_TCL= @USE_TCL@
USE_TK= @USE_TK@ USE_TK= @USE_TK@
USE_PERL= @USE_PERL@ USE_PERL= @USE_PERL@
PERL=perl
# #
# enable native odbc driver support # enable native odbc driver support

View File

@ -8,8 +8,8 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
echo "Then run $0 again." echo "Then run $0 again."
exit 1 exit 1
fi fi
indent -st -npro </dev/null >/dev/null 2>&1 indent --version </dev/null >/dev/null 2>&1
if [ "$?" -ne 0 ] if [ "$?" -eq 0 ]
then echo "You do not appear to have 'indent' installed on your system." >&2 then echo "You do not appear to have 'indent' installed on your system." >&2
exit 1 exit 1
fi fi