From: Zac Medico Date: Mon, 14 Jul 2008 06:48:10 +0000 (-0000) Subject: Call prepare_build_dirs() prior to pkg_preinst so that logging works X-Git-Tag: v2.2_rc2~102 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=acd321b053a60ba6f5f26e122edff127947aa021;p=portage.git Call prepare_build_dirs() prior to pkg_preinst so that logging works properly. svn path=/main/trunk/; revision=11046 --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 1dfa8946a..c189dce21 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -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,