fix empty vars

This commit is contained in:
2023-11-27 22:48:51 +01:00
parent aac84b963d
commit d082739a49
2 changed files with 3 additions and 4 deletions

View File

@@ -8,13 +8,11 @@ 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}" ]