[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sh -e changes broke pkgsrc
On 26 May 2008, at 12:44, Tobias Nygren wrote:
On Mon, 26 May 2008 02:41:05 +0000
David Holland <dholland-tech%netbsd.org@localhost> wrote:
/usr/pkgsrc/graphics/png (for example)
*** Error 1
Reverting this weekend's sh -e changes cures this behavior.
Sounds like something in the change is wrong rather than in pkgsrc,
because neither Solaris, FreeBSD nor Linux have that error.
I don't know about FreeBSD but Linux isn't affected because "bash"
implement "set -e" properly:
GNU bash, version 3.2.17(1)-release (powerpc-apple-darwin9.0)
Copyright (C) 2005 Free Software Foundation, Inc.
bash-3.2$ set -e
bash-3.2$ false && true
bash-3.2$ true && false
NetBSD's "sh" now implements both cases correctly;
$ set -e
$ false && true
$ set -e
$ true && false
I think it would probably be best to back those commits out for
I diasgree. Please have a look this change:
It is an example of bad shell programming that got exposed by the "sh"
So please fix "pkgsrc" instead.
Matthias Scheler http://zhadum.org.uk/
Main Index |
Thread Index |