fix empty vars
This commit is contained in:
parent
eecbe73207
commit
aaa663f5b9
@ -134,8 +134,8 @@ function get_var_from_line {
|
||||
g_echo_note "${f_ASSET_HIST_FILE}: Didn't get $1 in position $2"
|
||||
declare -g f_$1=0
|
||||
else
|
||||
#declare -g f_$1="$(echo ${f_last_line_array[$2]})"
|
||||
declare -g f_$1=${f_last_line_array[$2]}"
|
||||
declare -g f_$1="$(echo ${f_last_line_array[$2]})"
|
||||
#declare -g f_$1=${f_last_line_array[$2]}"
|
||||
fi
|
||||
f_all_vars="$f_all_vars
|
||||
f_$1=$(echo ${f_last_line_array[$2]})"
|
||||
|
Loading…
Reference in New Issue
Block a user