aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-09-09 19:39:06 +0000
committerBruce Momjian <bruce@momjian.us>1999-09-09 19:39:06 +0000
commitc1d5e88b41047d58632e487d9c8a1d9b6421049f (patch)
tree220296f476cb2d889297593758393a031265d3a0 /src
parent5bc0d31ae8c84fc43210c66338c5e2f492b52e6b (diff)
downloadpostgresql-c1d5e88b41047d58632e487d9c8a1d9b6421049f.tar.gz
postgresql-c1d5e88b41047d58632e487d9c8a1d9b6421049f.zip
Make pgindent gnu test better.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in3
-rwxr-xr-xsrc/tools/pgindent/pgindent4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 246e45a4f09..472e2802b5d 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -7,7 +7,7 @@
#
#
# 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
# Essentially all Postgres make files include this file and use the
@@ -147,6 +147,7 @@ USE_TCL= @USE_TCL@
USE_TK= @USE_TK@
USE_PERL= @USE_PERL@
+PERL=perl
#
# enable native odbc driver support
diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent
index ef5fde701a2..06802edbee1 100755
--- a/src/tools/pgindent/pgindent
+++ b/src/tools/pgindent/pgindent
@@ -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."
exit 1
fi
-indent -st -npro </dev/null >/dev/null 2>&1
-if [ "$?" -ne 0 ]
+indent --version </dev/null >/dev/null 2>&1
+if [ "$?" -eq 0 ]
then echo "You do not appear to have 'indent' installed on your system." >&2
exit 1
fi