From: Peter Eisentraut Date: Sat, 30 Dec 2000 00:24:09 +0000 (+0000) Subject: Fix unportable use of '!' in shell commands. X-Git-Tag: REL7_1_BETA2~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab432f204a1a53f06acd34f021524161182875f3;p=postgresql Fix unportable use of '!' in shell commands. --- diff --git a/Makefile b/Makefile index e73686416c..d0cdc303e6 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ all check install installdirs installcheck uninstall dep depend clean distclean maintainer-clean: - @if ! [ -f GNUmakefile ] ; then \ + @if [ ! -f GNUmakefile ] ; then \ echo "You need to run the 'configure' program first. See the file"; \ echo "'INSTALL' for installation instructions." ; \ false ; \ diff --git a/src/Makefile b/src/Makefile index e73686416c..d0cdc303e6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -12,7 +12,7 @@ all check install installdirs installcheck uninstall dep depend clean distclean maintainer-clean: - @if ! [ -f GNUmakefile ] ; then \ + @if [ ! -f GNUmakefile ] ; then \ echo "You need to run the 'configure' program first. See the file"; \ echo "'INSTALL' for installation instructions." ; \ false ; \ diff --git a/src/interfaces/python/GNUmakefile b/src/interfaces/python/GNUmakefile index dc5fa875f9..5bdf2b20d9 100644 --- a/src/interfaces/python/GNUmakefile +++ b/src/interfaces/python/GNUmakefile @@ -4,7 +4,7 @@ # # Written by Peter Eisentraut # -# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.2 2000/08/31 16:12:01 petere Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.3 2000/12/30 00:24:09 petere Exp $ # #------------------------------------------------------------------- @@ -34,8 +34,8 @@ Setup.in: Setup.in.raw install: all @echo "Installing Python module" - @if ! ( $(INSTALL_DATA) pg.py $(python_moduledir) && \ - $(MAKE) -f Makefile install ); then \ + @if ( $(INSTALL_DATA) pg.py $(python_moduledir) && \ + $(MAKE) -f Makefile install ); then : ; else \ echo "*****" ;\ echo "* Skipping the installation of the Python interface module for lack"; \ echo "* of permissions. To install it, change to the directory"; \