diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-12-30 00:24:09 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-12-30 00:24:09 +0000 |
commit | ab432f204a1a53f06acd34f021524161182875f3 (patch) | |
tree | 071fbf512aec4dce75a8e91407e712af5e65565f | |
parent | aa44078e2117d0bff2d61e3a92f131ac4573ede3 (diff) | |
download | postgresql-ab432f204a1a53f06acd34f021524161182875f3.tar.gz |
Fix unportable use of '!' in shell commands.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/Makefile | 2 | ||||
-rw-r--r-- | src/interfaces/python/GNUmakefile | 6 |
3 files changed, 5 insertions, 5 deletions
@@ -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 <peter_e@gmx.net> # -# $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"; \ |