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