Force ERL_PATH for elixir

This commit is contained in:
Christophe Romain 2016-04-27 12:32:01 +02:00
parent 26d3a978cc
commit d8bb5d9c01
1 changed files with 2 additions and 2 deletions

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