From 88867b09357dda3b8b9b92f2a0fedb5f3a1dbe99 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Wed, 28 Apr 2021 19:32:47 +0500 Subject: [PATCH] changed cookie and env dir to home --- bml.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bml.sh b/bml.sh index 3c53924..2371ca5 100755 --- a/bml.sh +++ b/bml.sh @@ -4,8 +4,11 @@ #Setting intial variables BML_URL='https://www.bankofmaldives.com.mv/internetbanking/api' -COOKIE=/tmp/bmlcookie -CREDENTIALS=.env +mkdir -p ~/.config/bml-cli/ +mkdir -p ~/.cache/bml-cli/ + +COOKIE=~/.cache/bml-cli/cookie +CREDENTIALS=~/.config/bml-cli/.env #Setting terminal output colors red=`tput setaf 1`