Subject: Re: misc/33807: netbsd-current fails to compile on linux
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 06/23/2006 19:50:02
The following reply was made to PR misc/33807; it has been noted by GNATS.
From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: misc/33807: netbsd-current fails to compile on linux
Date: Fri, 23 Jun 2006 20:55:55 +0100
On Fri, Jun 23, 2006 at 07:45:02PM +0000, David Laight wrote:
> > - CPP="${1-cc -E}"
> > + CPP="${1:-cc -E}"
> ...
> Both the above are valid shell syntax, but mean different things.
> The first substitues '-cc -E' if $1 is undefined or empty,
> the second only if $1 is undefined.
Except, of course, it is the other way around!
> You need to get your shell fixed!
Still applies...
David
--
David Laight: david@l8s.co.uk