From 1501ee33a7b3f38c736c0373d4b10d8baf544bb6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 19 Jul 2006 05:51:08 +0000 Subject: [PATCH] Don't try to create a log file unless PORTAGE_BUILDDIR exists. svn path=/main/trunk/; revision=3923 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index b4c648cf6..926a17ce0 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2749,7 +2749,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, return unmerge(mysettings["CATEGORY"], mysettings["PF"], myroot, mysettings, vartree=vartree) - if "PORT_LOGDIR" in mysettings and "PORTAGE_BUILDDIR" in mysettings: + if "PORT_LOGDIR" in mysettings and builddir_lock: logid_path = os.path.join(mysettings["PORTAGE_BUILDDIR"], ".logid") if not os.path.exists(logid_path): f = open(logid_path, "w") -- 2.26.2