File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ get_i_arr_indices() {
2121 _arr_name=" $1 " _out_var=" $2 "
2222 _check_vars " $_arr_name " " $_out_var " || return 1
2323
24- eval " _indices=\"\$ {_i_${_arr_name} _indices}"
24+ eval " _indices=\"\$ {_i_${_arr_name} _indices}\" "
2525
2626 _indices=" $( printf ' %s ' $_indices ) " # no quotes on purpose
2727
@@ -41,7 +41,7 @@ set_i_arr_el() {
4141 check_index || return 1
4242
4343 eval " _indices=\"\$ {_i_${_arr_name} _indices}\"
44- _i_${_arr_name} _${_index} " =' ${_el_set_flag}${ ___new_val}'
44+ _i_${_arr_name} _${_index} " =' ${___new_val}'
4545
4646 case " $_indices " in
4747 * " $_nl$_index " |* " $_nl$_index$_nl " * ) ;;
@@ -60,7 +60,7 @@ get_i_arr_val() {
6060 _check_vars " $_arr_name " " $_out_var " || return 1
6161 check_index || return 1
6262
63- eval " $_out_var =\"\$ { _i_${_arr_name} _${_index} # $_el_set_flag }\" "
63+ eval " $_out_var =\"\$ _i_${_arr_name} _${_index} \" "
6464}
6565
6666
8383export LC_ALL=C
8484___nl='
8585'
86- : " ${_el_set_flag:= " $( printf ' \35' ) " } "
You can’t perform that action at this time.
0 commit comments