summaryrefslogtreecommitdiff
path: root/share/spack/setup-env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/setup-env.sh')
-rwxr-xr-xshare/spack/setup-env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index 3c4342d852..8821751a05 100755
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
@@ -295,7 +295,7 @@ _sp_multi_pathadd() {
if [[ -n "${ZSH_VERSION:-}" ]]; then
setopt sh_word_split
fi
- for pth in "$2"; do
+ for pth in $2; do
_spack_pathadd "$1" "${pth}/${_sp_sys_type}"
done
}