Skip to content

Commit ab432f2

Browse files
committed
Fix unportable use of '!' in shell commands.
1 parent aa44078 commit ab432f2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
all check install installdirs installcheck uninstall dep depend clean distclean maintainer-clean:
15-
@if ! [ -f GNUmakefile ] ; then \
15+
@if [ ! -f GNUmakefile ] ; then \
1616
echo "You need to run the 'configure' program first. See the file"; \
1717
echo "'INSTALL' for installation instructions." ; \
1818
false ; \

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
all check install installdirs installcheck uninstall dep depend clean distclean maintainer-clean:
15-
@if ! [ -f GNUmakefile ] ; then \
15+
@if [ ! -f GNUmakefile ] ; then \
1616
echo "You need to run the 'configure' program first. See the file"; \
1717
echo "'INSTALL' for installation instructions." ; \
1818
false ; \

src/interfaces/python/GNUmakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Written by Peter Eisentraut <peter_e@gmx.net>
66
#
7-
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.2 2000/08/31 16:12:01 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.3 2000/12/30 00:24:09 petere Exp $
88
#
99
#-------------------------------------------------------------------
1010

@@ -34,8 +34,8 @@ Setup.in: Setup.in.raw
3434

3535
install: all
3636
@echo "Installing Python module"
37-
@if ! ( $(INSTALL_DATA) pg.py $(python_moduledir) && \
38-
$(MAKE) -f Makefile install ); then \
37+
@if ( $(INSTALL_DATA) pg.py $(python_moduledir) && \
38+
$(MAKE) -f Makefile install ); then : ; else \
3939
echo "*****" ;\
4040
echo "* Skipping the installation of the Python interface module for lack"; \
4141
echo "* of permissions. To install it, change to the directory"; \

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