fix empty vars

This commit is contained in:
olli 2023-11-27 22:44:03 +01:00
parent 5f8cc61f1a
commit aac84b963d

View File

@ -8,11 +8,13 @@ function get_vars_from_csv {
return 1
fi
set -x
if [ -z "${f_market_performance}" ]
then
f_market_performance="0"
fi
f_all_vars="f_market_performance=${f_market_performance}"
set +x
# read last 4 lines in array if not given
if [ -z "${f_last_lines_array}" ]