summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTom Scogland <scogland1@llnl.gov>2015-12-30 10:55:52 -0800
committerTom Scogland <scogland1@llnl.gov>2015-12-30 10:55:52 -0800
commit926efed31c6b8280060188e18466ad7cf7be4ebf (patch)
tree902a3e89f9ca209c63dffcfffc6a3f812517e37d /share
parent8726d2fe2e1e6c7b16fafb398fdcea851392c2cd (diff)
downloadspack-926efed31c6b8280060188e18466ad7cf7be4ebf.tar.gz
spack-926efed31c6b8280060188e18466ad7cf7be4ebf.tar.bz2
spack-926efed31c6b8280060188e18466ad7cf7be4ebf.tar.xz
spack-926efed31c6b8280060188e18466ad7cf7be4ebf.zip
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.
Diffstat (limited to 'share')
-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=""