From b5fb1937d5da5a2befe756dfe93eb6cdb2135892 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Thu, 21 Nov 2013 20:51:13 -0800 Subject: [PATCH] modules/generic_stage_target.py: Use 'portdir' instead of hard-coding '/usr/portage' W. Trevor King: Refactored Git history for Brian Dolbec's content changes. Reviewed-by: Matt Turner Signed-off-by: W. Trevor King Signed-off-by: Brian Dolbec --- modules/generic_stage_target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 0871cba8..0803a8c3 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -1064,7 +1064,7 @@ class generic_stage_target(generic_target): "/use will cause portage to ignore" print "\tpackage.use in the profile and portage_confdir. You've been warned!" - myf.write('PORTDIR="/usr/portage"\n') + myf.write('PORTDIR="%s"\n' % self.settings['portdir']) myf.write('DISTDIR="${PORTDIR}/distfiles"\n') myf.write('PKGDIR="${PORTDIR}/packages"\n') -- 2.26.2