This commit is contained in:
2023-11-29 17:47:01 +01:00
parent fec1d474c6
commit 0b80ca425b
2 changed files with 2 additions and 5 deletions

View File

@@ -23,7 +23,6 @@ function get_vars_from_csv {
# if there are not four lines
if [ -z "${f_last_lines_array[3]}" ]
then
unset f_last_lines_array
return 1
fi
@@ -34,9 +33,6 @@ function get_vars_from_csv {
readarray -d "," -t f_3_last_line_array < <(echo "0,${f_last_lines_array[1]}")
readarray -d "," -t f_4_last_line_array < <(echo "0,${f_last_lines_array[0]}")
# remove f_last_lines_array
unset f_last_lines_array
# bash-only basename
f_asset="${f_ASSET_HIST_FILE##*/}"