Gentoo Archives: gentoo-dev

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Ideas for a (fast) EAPI=3
Date: Tue, 10 Mar 2009 09:13:46
Message-Id: 1236676086.12714.56.camel@sapc154.salomon.at
In Reply to: Re: [gentoo-dev] Ideas for a (fast) EAPI=3 by Donnie Berkholz
1 On Mon, 2009-03-09 at 15:39 -0700, Donnie Berkholz wrote:
2
3 > > * Utility commands, even the ones that aren't functions, should die. To
4 > > get a non-die version, prefix the command with nonfatal (e.g.
5 > > 'nonfatal dodoc README', which just returns non-zero on failure
6 > > rather than splatting).
7 >
8 > Sounds useful to have less '|| die' all over the place.
9
10 Whats wrong with 'set -e' and doing '|| true' behind?
11 IMO this would feel more shell-ish.
12
13 /haubi/
14 --
15 Michael Haubenwallner
16 Gentoo on a different level

Replies

Subject Author
Re: [gentoo-dev] Ideas for a (fast) EAPI=3 Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>