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
1 changed files with 1 additions and 1 deletions

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 ->