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:45: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:48:26 +0100
On Fri, Jun 23, 2006 at 01:20:02PM +0000, dsean@charter.net wrote:
> >Number: 33807
> >Synopsis: netbsd-current fails to compile on linux
>
> >Description:
> The bin/ksh/siglist.sh script has incomplete shell syntax ...
...
> - 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 us undefined or empty,
the second only it $1 is undefined.
You need to get your shell fixed!
David
--
David Laight: david@l8s.co.uk