mirror of https://github.com/postgres/postgres
Fix unportable use of '!' in shell commands.
This commit is contained in:
parent
aa44078e21
commit
ab432f204a
2
Makefile
2
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 ; \
|
||||
|
|
|
@ -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 ; \
|
||||
|
|
|
@ -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"; \
|
||||
|
|
Loading…
Reference in New Issue