Revision 12204
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
67 | 67 |
|
68 | 68 |
#### vars |
69 | 69 |
|
70 |
alias local_array='declare -a' # `local` does not support arrays |
|
70 |
alias local_array='declare -a' |
|
71 |
# `local` does not support arrays in older versions of bash |
|
71 | 72 |
|
72 | 73 |
set_var() { eval "$1"'="$2"'; } |
73 | 74 |
|
Also available in: Unified diff
fix: lib/sh/util.sh: local_array: clarified that this is only needed for older versions of bash (the lack of support for arrays has apparently been fixed)