summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/Binpkg.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-14 07:49:30 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-14 07:49:30 -0700
commit25dae8949181fd3db25cabbdb9b95dfdd04c313c (patch)
tree5c9a5dde938f435c25fb50aa91f492ca7e2b55e6 /pym/_emerge/Binpkg.py
parent345e3ace7dd2885f95a6b022c2eefa110eb48c8e (diff)
downloadportage-25dae8949181fd3db25cabbdb9b95dfdd04c313c.tar.gz
portage-25dae8949181fd3db25cabbdb9b95dfdd04c313c.tar.bz2
portage-25dae8949181fd3db25cabbdb9b95dfdd04c313c.zip
Make EbuildBuildDir use the PORTAGE_BUILDDIR variable instead of the
dir_path attribute.
Diffstat (limited to 'pym/_emerge/Binpkg.py')
-rw-r--r--pym/_emerge/Binpkg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/Binpkg.py b/pym/_emerge/Binpkg.py
index 16826df2d..06f0fd28c 100644
--- a/pym/_emerge/Binpkg.py
+++ b/pym/_emerge/Binpkg.py
@@ -50,7 +50,7 @@ class Binpkg(CompositeTask):
if dir_path != self.settings['PORTAGE_BUILDDIR']:
raise AssertionError("'%s' != '%s'" % \
(dir_path, self.settings['PORTAGE_BUILDDIR']))
- self._build_dir = EbuildBuildDir(dir_path=dir_path,
+ self._build_dir = EbuildBuildDir(
scheduler=self.scheduler, settings=settings)
settings.configdict["pkg"]["EMERGE_FROM"] = pkg.type_name
@@ -193,7 +193,7 @@ class Binpkg(CompositeTask):
self.wait()
return
- dir_path = self._build_dir.dir_path
+ dir_path = self.settings['PORTAGE_BUILDDIR']
infloc = self._infloc
pkg = self.pkg