Call prepare_build_dirs() prior to pkg_preinst so that logging works
authorZac Medico <zmedico@gentoo.org>
Mon, 14 Jul 2008 06:48:10 +0000 (06:48 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 14 Jul 2008 06:48:10 +0000 (06:48 -0000)
properly.

svn path=/main/trunk/; revision=11046

pym/portage/dbapi/vartree.py

index 1dfa8946a04bf9513bcf80d400151d474b473d90..c189dce21fe539adb92ed45091a4f002a530f71a 100644 (file)
@@ -1577,6 +1577,8 @@ class dblink(object):
                                finally:
                                        catdir_lock = None
 
+                               prepare_build_dirs(self.myroot, self.settings, 1)
+
                                if scheduler is None:
                                        retval = doebuild(myebuildpath, ebuild_phase, self.myroot,
                                                self.settings, cleanup=cleanup, use_cache=0,