From 7e37dc04cadec0722eb692511084750b60c93f90 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 '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 --- 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 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 """ -- 2.26.2