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

Resolve vars.config relative to to rebar.config.script

This fixes problem with missing deps in make rel - issue #1615
This commit is contained in:
Paweł Chmielowski 2017-03-20 18:28:40 +01:00
parent 6017785e10
commit b9cd5ca07f

View File

@ -18,7 +18,7 @@
%%% %%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
Vars = case file:consult("vars.config") of Vars = case file:consult(filename:join([filename:dirname(SCRIPT),"vars.config"])) of
{ok, Terms} -> {ok, Terms} ->
Terms; Terms;
_Err -> _Err ->