diff options
-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 f602ea627e..943db72612 100755 --- a/share/spack/setup-env.sh +++ b/share/spack/setup-env.sh @@ -58,7 +58,7 @@ function spack { # Zsh does not do word splitting by default, this enables it for this function only - if [ -n "$ZSH_VERSION" ]; then + if [ -n "${ZSH_VERSION:-}" ]; then emulate -L sh fi |