diff options
author | Dmitriy Kargapolov <dmitriy.kargapolov@gmail.com> | 2012-05-14 13:54:04 -0400 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-08-30 22:18:09 +0200 |
commit | 9c7259d8a2e05585c2cb86aa92a57369329f0733 (patch) | |
tree | 07c3b47e0b4d443fba522476abd8c731aa099ae4 | |
parent | 7889cbe523c471751b91fdf20e5b804c490c967c (diff) |
Add dynamic .script support for overlay vars file
-rw-r--r-- | src/rebar_reltool.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_reltool.erl b/src/rebar_reltool.erl index 51fcb0e..602e801 100644 --- a/src/rebar_reltool.erl +++ b/src/rebar_reltool.erl @@ -149,7 +149,7 @@ overlay_vars(Config, Vars0, ReltoolConfig) -> load_vars_file(undefined) -> dict:new(); load_vars_file(File) -> - case file:consult(File) of + case rebar_config:consult_file(File) of {ok, Terms} -> dict:from_list(Terms); {error, Reason} -> |