Reset active directory after each global install

This commit is contained in:
Carson Woods
2019-07-17 15:01:58 -06:00
parent 7ab6af8a3b
commit 27e1140df7

View File

@@ -200,6 +200,8 @@ def install(spec, kwargs):
env.write()
else:
spec.package.do_install(**kwargs)
spack.config.set('config:active_tree', '~/.spack/opt/spack',
scope='user')
try:
if cli_args.things_to_install == 'dependencies':