diff options
-rw-r--r-- | lib/spack/spack/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |