From b9cd5ca07f75cc96ee847f25ebf273dff304e04f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Mon, 20 Mar 2017 18:28:40 +0100 Subject: [PATCH] Resolve vars.config relative to to rebar.config.script This fixes problem with missing deps in make rel - issue #1615 --- rebar.config.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebar.config.script b/rebar.config.script index 0ca424116..19142b9ee 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -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 ->