From e48a7bea239e5af4026bababae1ea8cc3c2b6429 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 30 Dec 2000 00:24:09 +0000 Subject: [PATCH] Fix unportable use of '!' in shell commands. --- Makefile | 2 +- src/Makefile | 2 +- src/interfaces/python/GNUmakefile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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 5be583a35a..b87ab780a8 100644 --- a/src/interfaces/python/GNUmakefile +++ b/src/interfaces/python/GNUmakefile @@ -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"; \ -- 2.39.5