Gentoo Archives: gentoo-catalyst

From: Dylan Baker <baker.dylan.c@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH 3/4] Adapt commit c52962b6bd2 to use the new configured settings values.
Date: Sat, 14 Dec 2013 16:07:56
Message-Id: CANss4CoXi5piPaQr1LEpEGFhj5Fi3RbgHZXDN1V+LQ4Qzkcg0A@mail.gmail.com
In Reply to: Re: [gentoo-catalyst] [PATCH 3/4] Adapt commit c52962b6bd2 to use the new configured settings values. by Dylan Baker
1 Please ignore my last email. I should drink my coffee *before* I begin
2 reviewing patches.
3
4
5 On Sat, Dec 14, 2013 at 6:54 AM, Dylan Baker <baker.dylan.c@×××××.com>wrote:
6
7 > On Friday, December 13, 2013 07:07:15 PM Brian Dolbec wrote:
8 > > ---
9 > > modules/generic_stage_target.py | 6 +++---
10 > > 1 file changed, 3 insertions(+), 3 deletions(-)
11 > >
12 > > diff --git a/modules/generic_stage_target.py
13 > > b/modules/generic_stage_target.py index 342c65b..1fbc733 100644
14 > > --- a/modules/generic_stage_target.py
15 > > +++ b/modules/generic_stage_target.py
16 > > @@ -1066,9 +1066,9 @@ class generic_stage_target(generic_target):
17 > > "/use will cause portage
18 > to ignore"
19 > > print "\tpackage.use in the
20 > profile and portage_confdir.
21 > You've been
22 > > warned!"
23 > >
24 > > - myf.write('PORTDIR="/usr/portage"\n')
25 > > - myf.write('DISTDIR="${PORTDIR}/distfiles"\n')
26 > > - myf.write('PKGDIR="${PORTDIR}/packages"\n')
27 > > + myf.write('PORTDIR="%s"\n' %
28 > self.settings['portdir'])
29 > > + myf.write('DISTDIR="%s"\n' %
30 > self.settings['distdir'])
31 > > + myf.write('PKGDIR="%s"\n' %
32 > self.settings['packagedir'])
33 >
34 > what is the point of this? These produce exactly the same output, except
35 > the
36 > previous is more readable.
37 >
38 > >
39 > > """ Setup the portage overlay """
40 > > if "portage_overlay" in self.settings:
41 >