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