Skip to content
Snippets Groups Projects
Commit 926efed3 authored by Tom Scogland's avatar Tom Scogland
Browse files

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.
parent 8726d2fe
No related branches found
No related tags found
No related merge requests found
......@@ -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=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment