summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-07 14:21:33 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-07 14:21:33 -0700
commit790bc7470c3047a06b5b97a7a5b4e4eab0de7cad (patch)
tree3407d711572004627c1e2aed641967c0cba164b9
parentba32c33455b32fdea5c0355af4caf118a266c9cf (diff)
downloadportage-790bc7470c3047a06b5b97a7a5b4e4eab0de7cad.tar.gz
portage-790bc7470c3047a06b5b97a7a5b4e4eab0de7cad.tar.bz2
portage-790bc7470c3047a06b5b97a7a5b4e4eab0de7cad.zip
Fix broken $PORTAGE_BUILDDIR/.$EBUILD_PHASEed path generation inside
_doebuild_spawn().
-rw-r--r--pym/portage/package/ebuild/doebuild.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py
index a61a56687..862939dc3 100644
--- a/pym/portage/package/ebuild/doebuild.py
+++ b/pym/portage/package/ebuild/doebuild.py
@@ -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