Gentoo Archives: gentoo-catalyst

From: Dylan Baker <baker.dylan.c@×××××.com>
To: gentoo-catalyst@l.g.o
Cc: Brian Dolbec <dolsen@g.o>
Subject: Re: [gentoo-catalyst] [PATCH 3/4] Adapt commit c52962b6bd2 to use the new configured settings values.
Date: Sat, 14 Dec 2013 15:03:50
Message-Id: 693519560.0lWei86J99@moiraine
In Reply to: [gentoo-catalyst] [PATCH 3/4] Adapt commit c52962b6bd2 to use the new configured settings values. by Brian Dolbec
1 On Friday, December 13, 2013 07:07:15 PM Brian Dolbec wrote:
2 > ---
3 > modules/generic_stage_target.py | 6 +++---
4 > 1 file changed, 3 insertions(+), 3 deletions(-)
5 >
6 > diff --git a/modules/generic_stage_target.py
7 > b/modules/generic_stage_target.py index 342c65b..1fbc733 100644
8 > --- a/modules/generic_stage_target.py
9 > +++ b/modules/generic_stage_target.py
10 > @@ -1066,9 +1066,9 @@ class generic_stage_target(generic_target):
11 > "/use will cause portage to ignore"
12 > print "\tpackage.use in the profile and portage_confdir.
13 You've been
14 > warned!"
15 >
16 > - myf.write('PORTDIR="/usr/portage"\n')
17 > - myf.write('DISTDIR="${PORTDIR}/distfiles"\n')
18 > - myf.write('PKGDIR="${PORTDIR}/packages"\n')
19 > + myf.write('PORTDIR="%s"\n' % self.settings['portdir'])
20 > + myf.write('DISTDIR="%s"\n' % self.settings['distdir'])
21 > + myf.write('PKGDIR="%s"\n' % self.settings['packagedir'])
22
23 what is the point of this? These produce exactly the same output, except the
24 previous is more readable.
25
26 >
27 > """ Setup the portage overlay """
28 > if "portage_overlay" in self.settings:

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies