diff --git a/dabo/functions/get_vars_from_csv.sh b/dabo/functions/get_vars_from_csv.sh index 2215843..d692e73 100644 --- a/dabo/functions/get_vars_from_csv.sh +++ b/dabo/functions/get_vars_from_csv.sh @@ -7,13 +7,14 @@ function get_vars_from_csv { return 1 fi +set -x + + if [ -z "${f_last_lines}" ] then mapfile -t f_last_lines <<< $(tail -n4 "${f_ASSET_HIST_FILE}") fi -set -x - if [ -z "${f_market_performance}" ] then f_market_performance="-50"