fix empty vars
This commit is contained in:
parent
a3007555f3
commit
83e3b16e04
@ -88,11 +88,12 @@ function analyze {
|
||||
local f_time="${f_date%:*}"
|
||||
f_time="${f_time//[^0-9]/}"
|
||||
|
||||
# get markel_performance from array with time
|
||||
# get market_performance from array with time
|
||||
f_market_performance=${f_market_performace_array[${f_time}]}
|
||||
[ -z "${f_market_performance}" ] && f_market_performance=${f_market_performance_before}
|
||||
f_market_performance_before=${f_market_performance}
|
||||
echo "MARKET_PERF=$f_market_performance"
|
||||
g_num_valid_number || unset f_market_performance
|
||||
#echo "MARKET_PERF=$f_market_performance"
|
||||
|
||||
# get vars
|
||||
get_vars_from_csv ${g_tmp}/${tmpfile} || continue
|
||||
|
Loading…
Reference in New Issue
Block a user