summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-12-30 10:20:27 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-12-30 10:20:27 -0800
commit3e3667f254cd9c288fbb2641c51ed871a28f0112 (patch)
tree5044c0f4b97603bd9f1c094a7b5cc15b4f853254 /share
parent496e4856916cb881da916539635e9bfa3e1406af (diff)
downloadspack-3e3667f254cd9c288fbb2641c51ed871a28f0112.tar.gz
spack-3e3667f254cd9c288fbb2641c51ed871a28f0112.tar.bz2
spack-3e3667f254cd9c288fbb2641c51ed871a28f0112.tar.xz
spack-3e3667f254cd9c288fbb2641c51ed871a28f0112.zip
Revert "removing check as it can cause failures in zsh"
This reverts commit 496e4856916cb881da916539635e9bfa3e1406af. Undo overly large set of changes -- LLVM wasn't ready. Tom can recommit just the zsh stuff.
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/setup-env.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index 6503728d8f..4faae0d2c9 100755
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
@@ -55,6 +55,7 @@
# avoids the need to come up with a user-friendly naming scheme for
# spack dotfiles.
########################################################################
+arrtest[0]='test' || (echo 'Failure: arrays not supported in this version of bash.' && exit 2)
function spack {
# save raw arguments into an array before butchering them