]> granicus.if.org Git - postgresql/commitdiff
Make pgindent gnu test better.
authorBruce Momjian <bruce@momjian.us>
Thu, 9 Sep 1999 19:39:06 +0000 (19:39 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 9 Sep 1999 19:39:06 +0000 (19:39 +0000)
src/Makefile.global.in
src/tools/pgindent/pgindent

index 246e45a4f09d03805120476b8b75c79eda0c8257..472e2802b5d0e560685f55dc4ffb10f493d7752f 100644 (file)
@@ -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
index ef5fde701a258f3f550a3944f57164c01bcbcd84..06802edbee1b579b58dabceb887d069005fb283c 100755 (executable)
@@ -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