From ef209e7a547b20b49a811251a2d1be58de0209ad Mon Sep 17 00:00:00 2001 From: aquachocomint Date: Mon, 18 Dec 2023 14:21:08 +0000 Subject: [PATCH] Change current directory only clicking entrypoint.sh is not working without changing directory on mac environment (I don't know this code is needed for linux). before running this script, we need to change directory (e.g. cd) in advance. this change allows you to start up artemis without changing directory. --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index aa95ca8..b059b22 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,5 @@ #!/bin/bash +cd "$(dirname "$0")" if [[ -z "${CFG_DEV}" ]]; then echo Production mode