ema800 workaround
This commit is contained in:
parent
77fe1e63da
commit
a450af5adf
@ -10,7 +10,7 @@ function get_vars_from_csv {
|
|||||||
|
|
||||||
if [ -z "${f_market_performance}" ]
|
if [ -z "${f_market_performance}" ]
|
||||||
then
|
then
|
||||||
f_market_performance="-50"
|
f_market_performance="0"
|
||||||
fi
|
fi
|
||||||
f_all_vars="f_market_performance=${f_market_performance}"
|
f_all_vars="f_market_performance=${f_market_performance}"
|
||||||
|
|
||||||
@ -135,7 +135,7 @@ function get_var_from_line {
|
|||||||
then
|
then
|
||||||
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
|
||||||
f_empty_var=1
|
[[ "$1" =~ ^ema800$ ]] || f_empty_var=1
|
||||||
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]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user