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