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.
This commit is contained in:
Tom Scogland 2015-12-30 10:55:52 -08:00
parent 8726d2fe2e
commit 926efed31c

View File

@ -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=""