summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-01-05 00:43:08 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2016-01-05 00:43:08 -0800
commit0dcc87bd21f511048417923914cde654c7fb895e (patch)
tree55d1e59b7d6ea11f1726b50923d9e3807d8c20d8
parent20e8b67eb64fc5623f8add29bcbb6b0b4def11d3 (diff)
parent926efed31c6b8280060188e18466ad7cf7be4ebf (diff)
downloadspack-0dcc87bd21f511048417923914cde654c7fb895e.tar.gz
spack-0dcc87bd21f511048417923914cde654c7fb895e.tar.bz2
spack-0dcc87bd21f511048417923914cde654c7fb895e.tar.xz
spack-0dcc87bd21f511048417923914cde654c7fb895e.zip
Merge pull request #289 from trws/zsh-array-fix
another portability fix, this time for zsh/non-bash 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 6503728d8f..586a5b836b 100755
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
@@ -58,7 +58,7 @@
function spack {
# save raw arguments into an array before butchering them
- declare -a args=( "$@" )
+ args=( "$@" )
# accumulate initial flags for main spack command
_sp_flags=""