Skip to content
Snippets Groups Projects
Commit 73fb2345 authored by Todd Gamblin's avatar Todd Gamblin
Browse files

Merge pull request #766 from mplegendre/bugfix/tmpdir_with_username

Spack was no longer using $TMPDIR for its stage area at LLNL. 
parents e73caad0 1af88be3
Branches
Tags
No related merge requests found
...@@ -136,9 +136,7 @@ ...@@ -136,9 +136,7 @@
# don't add a second username if it's already unique by user. # don't add a second username if it's already unique by user.
if not _tmp_user in path: if not _tmp_user in path:
tmp_dirs.append(join_path(path, '%u', 'spack-stage')) tmp_dirs.append(join_path(path, '%u', 'spack-stage'))
else:
for path in _tmp_candidates:
if not path in tmp_dirs:
tmp_dirs.append(join_path(path, 'spack-stage')) tmp_dirs.append(join_path(path, 'spack-stage'))
# Whether spack should allow installation of unsafe versions of # Whether spack should allow installation of unsafe versions of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment