diff options
-rw-r--r-- | pym/portage.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage.py b/pym/portage.py index b158b291c..b8bfa118e 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5763,10 +5763,10 @@ class dblink: gid=portage_gid, mode=070, mask=02) builddir_lock = None try: - builddir_lock = portage_locks.lockdir( - self.settings["PORTAGE_BUILDDIR"]) - if myebuildpath: + builddir_lock = portage_locks.lockdir( + self.settings["PORTAGE_BUILDDIR"]) + # Eventually, we'd like to pass in the saved ebuild env here... retval = doebuild(myebuildpath, "prerm", self.myroot, self.settings, cleanup=cleanup, use_cache=0, |