diff options
Diffstat (limited to 'share/spack/setup-env.sh')
-rwxr-xr-x | share/spack/setup-env.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh index 4de530beba..6ac38967ba 100755 --- a/share/spack/setup-env.sh +++ b/share/spack/setup-env.sh @@ -210,7 +210,7 @@ export SPACK_SHELL=$(_spack_determine_shell) # Check whether a function of the given name is defined # function _spack_fn_exists() { - type $1 2>&1 | grep -q 'function' + LANG= type $1 2>&1 | grep -q 'function' } need_module="no" |