From 926efed31c6b8280060188e18466ad7cf7be4ebf Mon Sep 17 00:00:00 2001 From: Tom Scogland Date: Wed, 30 Dec 2015 10:55:52 -0800 Subject: [PATCH] another portability fix, this time for zsh/non-bash sh Yay for non-portable declaration syntax. After the previous screwiness I ran this through a number of shells, and found that this is the most portable version I coudl seem to get. --- share/spack/setup-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=""