Gentoo Archives: gentoo-dev

From: Aron Griffis <agriffis@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-portage-dev] allow extra info to be echod on die
Date: Wed, 05 Oct 2005 19:10:38
Message-Id: 20051005190423.GG28593@olive.flatmonk
In Reply to: [gentoo-dev] Re: [gentoo-portage-dev] allow extra info to be echod on die by Brian Harring
1 Brian Harring wrote: [Wed Oct 05 2005, 02:47:09PM EDT]
2 > > diefunc() {
3 > > local funcname="$1" lineno="$2" exitcode="$3"
4 > > shift 3
5 > > @@ -289,6 +291,7 @@
6 > > echo "!!! ${*:-(no error message)}" >&2
7 > > echo "!!! If you need support, post the topmost build error, NOT this status message." >&2
8 > > echo >&2
9 > > + for x in $EBUILD_DEATH_HOOKS; do
10 > > + ${x} "$1" "$2" "$3"
11 > > + done
12 > > exit 1
13 > > }
14
15 Is this exactly what went in? It looks like you're trying to use
16 positional params that were shifted earlier.
17
18 Regards,
19 Aron
20
21 --
22 Aron Griffis
23 Gentoo Linux Developer

Replies