/bin/sh: !: not found - Mailing list pgsql-bugs

From Alexander Klimov
Subject /bin/sh: !: not found
Date
Msg-id Pine.SUN.4.21.0012231655470.3594-100000@dardar.wisdom.weizmann.ac.il
Whole thread Raw
Responses Re: /bin/sh: !: not found  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
Hi.

I using version from CVS, and after update tried to run `make
distclean'. For some reason my GNUMakefile was deleted, so Makefile is
used by gmake and I got an error message (see Subj)

The reason is
    @if ! [ -f GNUmakefile ] ; then \
           ^^^ in the Makefile

To fix it should be changed to
    @if [ ! -f GNUmakefile ] ; then \

This problem exists in Makefile and src/Makefile, maybe somethere else


Regards,
ASK

pgsql-bugs by date:

Previous
From: "Robert A. Weiler"
Date:
Subject: Table corruption on drop
Next
From: Peter Eisentraut
Date:
Subject: Re: /bin/sh: !: not found