Remove '==> OpenFOAM bashrc env: ' from module (#28444)

It seems that spack reads the output of `setup_run_environment` to build the actual spack modules and lmod modules. So, any output here will used verbatim on the shell.

This patch fixes https://github.com/spack/spack/issues/26733
This commit is contained in:
Stephen Sachs
2022-01-19 12:00:31 +01:00
committed by GitHub
parent 7fb11ea84f
commit d25e4889ba

View File

@@ -459,7 +459,7 @@ def setup_run_environment(self, env):
env.extend(mods)
minimal = False
tty.info('OpenFOAM bashrc env: {0}'.format(bashrc))
tty.debug('OpenFOAM bashrc env: {0}'.format(bashrc))
except Exception:
minimal = True