diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2017-03-20 18:28:40 +0100 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2017-03-20 18:28:49 +0100 |
commit | b9cd5ca07f75cc96ee847f25ebf273dff304e04f (patch) | |
tree | 1e52a5b12e583c5ca4f9dfff3c168f86a8252d24 | |
parent | Fix compilation with mix (#1588) (diff) |
Resolve vars.config relative to to rebar.config.script
This fixes problem with missing deps in make rel - issue #1615
-rw-r--r-- | rebar.config.script | 2 |
1 files changed, 1 insertions, 1 deletions
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 -> |