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
Branches
Tags
No related merge requests found
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
function spack { function spack {
# save raw arguments into an array before butchering them # save raw arguments into an array before butchering them
declare -a args=( "$@" ) args=( "$@" )
# accumulate initial flags for main spack command # accumulate initial flags for main spack command
_sp_flags="" _sp_flags=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment