25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +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} ->
Terms;
_Err ->