summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 66e003a31..42e58f7f2 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2697,9 +2697,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
if mydbapi is None:
mydbapi = db[myroot][tree].dbapi
- if vartree is None and (mydo in ("merge", "qmerge", "unmerge") or \
- "PORT_LOGDIR" in mysettings and \
- mydo not in ("depend", "fetch", "digest", "manifest")):
+ if vartree is None and mydo in ("merge", "qmerge", "unmerge"):
vartree = db[myroot]["vartree"]
features = mysettings.features