From b2adcdb389ed684fd4dbb15e44da163c816548a7 Mon Sep 17 00:00:00 2001 From: Peter Scheibel Date: Thu, 30 Jan 2020 11:13:36 -0800 Subject: Bugfix: put environment lock in the right place (#14692) Locate the environment lock in the hidden environment directory rather than the root of the environment. --- lib/spack/spack/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/spack/spack/environment.py b/lib/spack/spack/environment.py index dd2d932849..fff1485e3c 100644 --- a/lib/spack/spack/environment.py +++ b/lib/spack/spack/environment.py @@ -724,7 +724,7 @@ class Environment(object): """The location of the lock file used to synchronize multiple processes updating the same environment. """ - return os.path.join(self.path, 'transaction_lock') + return os.path.join(self.env_subdir_path, 'transaction_lock') @property def lock_path(self): -- cgit v1.2.3-60-g2f50