From: Brian Dolbec Date: Fri, 22 Nov 2013 04:51:13 +0000 (-0800) Subject: modules/generic_stage_target.py: Use 'distdir' instead of hard-coding '${PORTAGE... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e37dc04cadec0722eb692511084750b60c93f90;p=catalyst.git modules/generic_stage_target.py: Use 'distdir' instead of hard-coding '${PORTAGE}/distfiles' 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 --- diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 0803a8c3..fc54fbf2 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -1065,7 +1065,7 @@ class generic_stage_target(generic_target): print "\tpackage.use in the profile and portage_confdir. You've been warned!" myf.write('PORTDIR="%s"\n' % self.settings['portdir']) - myf.write('DISTDIR="${PORTDIR}/distfiles"\n') + myf.write('DISTDIR="%s"\n' % self.settings['distdir']) myf.write('PKGDIR="${PORTDIR}/packages"\n') """ Setup the portage overlay """