Remove shared mode set self as upstream
This commit is contained in:
@@ -591,11 +591,6 @@ def shell_set(var, value):
|
||||
other_spack_instances = spack.config.get(
|
||||
'upstreams') or {}
|
||||
|
||||
if spack.config.get('config:shared'):
|
||||
path = spack.util.path.canonicalize_path("$spack/opt/spack")
|
||||
other_spack_instances.update({'spack-root':
|
||||
{'install_tree': path}})
|
||||
|
||||
for install_properties in other_spack_instances.values():
|
||||
upstream_module_roots = install_properties.get('modules', {})
|
||||
for module_type, root in upstream_module_roots.items():
|
||||
|
||||
Reference in New Issue
Block a user