From 9c7259d8a2e05585c2cb86aa92a57369329f0733 Mon Sep 17 00:00:00 2001 From: Dmitriy Kargapolov Date: Mon, 14 May 2012 13:54:04 -0400 Subject: [PATCH] Add dynamic .script support for overlay vars file --- src/rebar_reltool.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} ->