diff options
-rw-r--r-- | pym/portage/package/ebuild/doebuild.py | 4 |
1 files changed, 3 insertions, 1 deletions
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: |