Skip to content
Snippets Groups Projects
Commit 6cc9b317 authored by Adam J. Stewart's avatar Adam J. Stewart Committed by becker33
Browse files

Allow shell support to work when set -u is set (#2418)

parent 5eb7026d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment