Skip to content
Snippets Groups Projects
Commit 1af88be3 authored by Matthew LeGendre's avatar Matthew LeGendre
Browse files

Spack was no longer using $TMPDIR for its stage area at LLNL. Spack's...

Spack was no longer using $TMPDIR for its stage area at LLNL. Spack's directory search was unnecessarily putting candidates that contained your username at the end of its search list.
parent e73caad0
No related branches found
No related tags found
No related merge requests found
......@@ -136,9 +136,7 @@
# don't add a second username if it's already unique by user.
if not _tmp_user in path:
tmp_dirs.append(join_path(path, '%u', 'spack-stage'))
for path in _tmp_candidates:
if not path in tmp_dirs:
else:
tmp_dirs.append(join_path(path, 'spack-stage'))
# 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.
Finish editing this message first!
Please register or to comment