modules/generic_stage_target.py: Use 'distdir' instead of hard-coding '${PORTAGE...
authorBrian Dolbec <dolsen@gentoo.org>
Fri, 22 Nov 2013 04:51:13 +0000 (20:51 -0800)
committerMatt Turner <mattst88@gmail.com>
Sun, 15 Dec 2013 04:17:21 +0000 (20:17 -0800)
W. Trevor King: Refactored Git history for Brian Dolbec's content changes.

Reviewed-by: Matt Turner <mattst88@gentoo.org>
Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
modules/generic_stage_target.py

index 0803a8c3185a5dd01cc7efc29cc079409d65b204..fc54fbf263f82bd5583101cf408029b79b26111c 100644 (file)
@@ -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 """