Remove shared mode set self as upstream

This commit is contained in:
Carson Woods
2019-07-16 13:14:28 -06:00
parent 57ca47f035
commit e17824f82f

View File

@@ -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():