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:
parent
a497a9806d
commit
ef209e7a54
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
if [[ -z "${CFG_DEV}" ]]; then
|
if [[ -z "${CFG_DEV}" ]]; then
|
||||||
echo Production mode
|
echo Production mode
|
||||||
|
Loading…
Reference in New Issue
Block a user