typo fix
This commit is contained in:
parent
b9bce6ed7e
commit
ee895e5168
@ -1,6 +1,6 @@
|
|||||||
function get_vars_from_csv {
|
function get_vars_from_csv {
|
||||||
|
|
||||||
local f_ASSET_HIST_FILE="$1"
|
f_ASSET_HIST_FILE="$1"
|
||||||
if ! [ -s "${f_ASSET_HIST_FILE}" ]
|
if ! [ -s "${f_ASSET_HIST_FILE}" ]
|
||||||
then
|
then
|
||||||
g_echo_warn "${f_ASSET_HIST_FILE} does not exist or is empty"
|
g_echo_warn "${f_ASSET_HIST_FILE} does not exist or is empty"
|
||||||
@ -39,7 +39,7 @@ function get_vars_from_csv {
|
|||||||
function get_var_from_line {
|
function get_var_from_line {
|
||||||
if [ -z "${f_last_line_array[$2]}" ]
|
if [ -z "${f_last_line_array[$2]}" ]
|
||||||
then
|
then
|
||||||
g_echo_note "Didn't get $1 in position $2"
|
g_echo_note "${f_ASSET_HIST_FILE}: Didn't get $1 in position $2"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
declare -g f_$1="$(echo ${f_last_line_array[$2]})"
|
declare -g f_$1="$(echo ${f_last_line_array[$2]})"
|
||||||
|
Loading…
Reference in New Issue
Block a user