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:
parent
8726d2fe2e
commit
926efed31c
@ -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=""
|
||||
|
Loading…
Reference in New Issue
Block a user