more pure bash to speed up things
This commit is contained in:
parent
bc1d511ee8
commit
5d531ae3fa
@ -14,7 +14,6 @@ function get_vars_from_csv {
|
|||||||
fi
|
fi
|
||||||
f_all_vars="f_market_performance=${f_market_performance}"
|
f_all_vars="f_market_performance=${f_market_performance}"
|
||||||
|
|
||||||
set -x
|
|
||||||
# read last 4 lines in array if not given
|
# read last 4 lines in array if not given
|
||||||
if [ -z "${f_last_lines_array}" ]
|
if [ -z "${f_last_lines_array}" ]
|
||||||
then
|
then
|
||||||
@ -23,8 +22,8 @@ function get_vars_from_csv {
|
|||||||
|
|
||||||
# if there are not four lines
|
# if there are not four lines
|
||||||
if [ -z "${f_last_lines_array[3]}" ]
|
if [ -z "${f_last_lines_array[3]}" ]
|
||||||
then
|
then
|
||||||
set +x
|
unset f_last_lines_array
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user