25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Set SCRIPT_DIR as done by the ejabberd script generated by "rebar3 release"

This commit is contained in:
Badlop 2021-06-25 12:33:38 +02:00
parent d5adcaea61
commit 21b021d912

View File

@ -10,7 +10,8 @@ INET_DIST_INTERFACE=""
ERLANG_NODE=ejabberd@localhost ERLANG_NODE=ejabberd@localhost
# define default environment variables # define default environment variables
SCRIPT_DIR=$(cd "${0%/*}" && pwd) [ -z "$SCRIPT" ] && SCRIPT=$0
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT")" && pwd -P)"
ERL="{{erl}}" ERL="{{erl}}"
IEX="{{bindir}}/iex" IEX="{{bindir}}/iex"
EPMD="{{epmd}}" EPMD="{{epmd}}"