Gentoo Archives: gentoo-portage-dev

From: Brian Harring <ferringb@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] PATCH: ebuild unpack sources ${T}/environment during setup phase (bug 85803)
Date: Sat, 24 Sep 2005 19:16:15
Message-Id: 20050924191541.GF18375@nightcrawler
In Reply to: [gentoo-portage-dev] PATCH: ebuild unpack sources ${T}/environment during setup phase (bug 85803) by Zac Medico
1 On Wed, Sep 07, 2005 at 07:20:44PM -0700, Zac Medico wrote:
2 > http://bugs.gentoo.org/show_bug.cgi?id=85803
3 >
4 > This trivial patch seems to work for me but I'm not sure if it will cause
5 > regressions or not. Feedback is appreciated.
6 >
7 > Zac
8
9 > Index: portage-2.0.51.22/bin/ebuild.sh
10 > ===================================================================
11 > --- portage-2.0.51.22.orig/bin/ebuild.sh
12 > +++ portage-2.0.51.22/bin/ebuild.sh
13 > @@ -11,7 +11,7 @@ if [ ! -z "${PORTAGE_GPG_DIR}" ]; then
14 > SANDBOX_PREDICT="${SANDBOX_PREDICT}:${PORTAGE_GPG_DIR}"
15 > fi
16 >
17 > -if [ "$*" != "depend" ] && [ "$*" != "clean" ] && [ "$*" != "nofetch" ]; then
18 > +if [ "$*" != "depend" ] && [ "$*" != "clean" ] && [ "$*" != "nofetch" ] && [ "$*" != "setup" ]; then
19 > if [ -f "${T}/environment" ]; then
20 > source "${T}/environment" &>/dev/null
21 > fi
22
23 Any further thoughts on this?
24 I'd like to see something done about the bug, but the binpkg setup
25 issue stands still.
26 ~harring

Replies