fix #249 (tmp spack-stage directories conflict)
This commit is contained in:
parent
c3aaf005e2
commit
2ba6bb21fb
@ -112,8 +112,9 @@
|
||||
tmp_dirs = []
|
||||
_default_tmp = tempfile.gettempdir()
|
||||
if _default_tmp != os.getcwd():
|
||||
tmp_dirs.append(os.path.join(_default_tmp, 'spack-stage'))
|
||||
tmp_dirs.append('/nfs/tmp2/%u/spack-stage')
|
||||
tmp_dirs = [ join_path(_default_tmp, '%u', 'spack-stage'),
|
||||
join_path(_default_tmp, 'spack-stage') ]
|
||||
tmp_dirs.append('/nfs/tmp2/%u/spack-stage') # TODO: remove
|
||||
|
||||
# Whether spack should allow installation of unsafe versions of
|
||||
# software. "Unsafe" versions are ones it doesn't have a checksum
|
||||
|
Loading…
Reference in New Issue
Block a user