Fix shell integration with environment-modules@4 (#10736)

This commit is contained in:
Michael Kuhn
2019-02-28 13:22:44 +01:00
committed by Massimiliano Culpo
parent 4e80977506
commit 617c1a3706
2 changed files with 11 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ def bootstrap(parser, args, **kwargs):
# Define requirement dictionary defining general specs which need
# to be satisfied, and the specs to install when the general spec
# isn't satisfied.
requirement_dict = {'environment-modules': 'environment-modules@3.2.10~X'}
requirement_dict = {'environment-modules': 'environment-modules~X'}
for requirement in requirement_dict:
installed_specs = spack.store.db.query(requirement)