Skip to content

Commit c1d5e88

Browse files
committed
Make pgindent gnu test better.
1 parent 5bc0d31 commit c1d5e88

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Makefile.global.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.57 1999/07/20 02:42:19 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.58 1999/09/09 19:39:00 momjian Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -147,6 +147,7 @@ USE_TCL= @USE_TCL@
147147
USE_TK= @USE_TK@
148148

149149
USE_PERL= @USE_PERL@
150+
PERL=perl
150151

151152
#
152153
# enable native odbc driver support

src/tools/pgindent/pgindent

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ then echo "Go to the src/tools/entab directory and do a 'make' and 'make install
88
echo "Then run $0 again."
99
exit 1
1010
fi
11-
indent -st -npro </dev/null >/dev/null 2>&1
12-
if [ "$?" -ne 0 ]
11+
indent --version </dev/null >/dev/null 2>&1
12+
if [ "$?" -eq 0 ]
1313
then echo "You do not appear to have 'indent' installed on your system." >&2
1414
exit 1
1515
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy