24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-04 21:27:16 +02:00

Force ERL_PATH for elixir

This commit is contained in:
Christophe Romain 2016-04-27 12:32:01 +02:00
parent 26d3a978cc
commit d8bb5d9c01

View File

@ -212,7 +212,7 @@ iexdebug()
--erl `shell_escape \"$ERLANG_OPTS\"` \
--erl `shell_escape \"${ARGS[@]}\"` \
--erl `shell_escape_str \"$@\"`"
$EXEC_CMD "$CMD"
$EXEC_CMD "ERL_PATH=$\"$ERL\" $CMD"
}
# start interactive server
@ -242,7 +242,7 @@ iexlive()
--erl `shell_escape \"$ERLANG_OPTS\"` \
--erl `shell_escape \"${ARGS[@]}\"` \
--erl `shell_escape_str \"$@\"`"
$EXEC_CMD "$CMD"
$EXEC_CMD "ERL_PATH=\"$ERL\" $CMD"
}
# start server in the foreground