From: Zac Medico Date: Wed, 31 Aug 2011 00:49:28 +0000 (-0700) Subject: doebuild: only check .unpacked for porttree X-Git-Tag: v2.2.0_alpha52~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c7ff6c61e86127068ba6abe6aaa094e56c2d7555;p=portage.git doebuild: only check .unpacked for porttree --- diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index 2ab679606..45b28631c 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -684,7 +684,9 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, alist = set(mysettings.configdict["pkg"].get("A", "").split()) unpacked = False - if "unpack" not in phases_to_run: + if tree != "porttree": + pass + elif "unpack" not in phases_to_run: unpacked = os.path.exists(os.path.join( mysettings["PORTAGE_BUILDDIR"], ".unpacked")) else: