lolower for STOCK_EXCHANGE
This commit is contained in:
parent
5b4c2a9500
commit
fa2bc5ac9d
@ -1,9 +1,9 @@
|
||||
function f_ccxt {
|
||||
if [ -s /dabo/.${STOCK_EXCHANGE}-secrets ]
|
||||
if [ -s /dabo/.${STOCK_EXCHANGE,,}-secrets ]
|
||||
then
|
||||
. /dabo/.${STOCK_EXCHANGE}-secrets
|
||||
. /dabo/.${STOCK_EXCHANGE,,}-secrets
|
||||
else
|
||||
g_echo_error "No secrets found (/dabo/.${STOCK_EXCHANGE}-secrets) found"
|
||||
g_echo_error "No secrets found (/dabo/.${STOCK_EXCHANGE,,}-secrets) found"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user