Fix broken $PORTAGE_BUILDDIR/.$EBUILD_PHASEed path generation inside
authorZac Medico <zmedico@gentoo.org>
Tue, 7 Sep 2010 21:21:33 +0000 (14:21 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 7 Sep 2010 21:21:33 +0000 (14:21 -0700)
_doebuild_spawn().

pym/portage/package/ebuild/doebuild.py

index a61a5668752766ab9a797282c19206754b9afea8..862939dc3ee58f08ca46fd7ef08947f5a049103c 100644 (file)
@@ -93,8 +93,8 @@ def _doebuild_spawn(phase, settings, actionmap=None, **kwargs):
                        ebuild_sh_arg)
 
        if phase not in EbuildSpawnProcess._phases_without_builddir:
-               phase_completed_file = os.path.join(settings['PORTAGE_BUILDIR'],
-                       phase.rstrip('e') + 'ed')
+               phase_completed_file = os.path.join(settings['PORTAGE_BUILDDIR'],
+                       ".%sed" % phase.rstrip('e'))
                if not os.path.exists(phase_completed_file):
                        # If the phase is really going to run then we want
                        # to eliminate any stale elog messages that may