Allow shell support to work when set -u is set (#2418)
This commit is contained in:
parent
5eb7026dd1
commit
6cc9b31747
@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
function spack {
|
function spack {
|
||||||
# Zsh does not do word splitting by default, this enables it for this function only
|
# 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
|
emulate -L sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user