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.
This commit is contained in:
aquachocomint 2023-12-18 14:21:08 +00:00
parent a497a9806d
commit ef209e7a54

View File

@ -1,4 +1,5 @@
#!/bin/bash
cd "$(dirname "$0")"
if [[ -z "${CFG_DEV}" ]]; then
echo Production mode