diff --git a/bml-tg-notify.sh b/bml-tg-notify.sh index 42d933a..51ee975 100755 --- a/bml-tg-notify.sh +++ b/bml-tg-notify.sh @@ -1,4 +1,6 @@ #!/bin/bash +cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 + source .env # import credentials, tg api, cookie path, bml api