diff --git a/src/rebar_config.erl b/src/rebar_config.erl index e9915ea..574ebc5 100644 --- a/src/rebar_config.erl +++ b/src/rebar_config.erl @@ -165,7 +165,7 @@ get_env(Config, Mod) -> consult_and_eval(File, Script) -> ?DEBUG("Evaluating config script ~p~n", [Script]), ConfigData = try_consult(File), - file:script(File, bs([{'CONFIG', ConfigData}, {'SCRIPT', File}])). + file:script(Script, bs([{'CONFIG', ConfigData}, {'SCRIPT', File}])). remove_script_ext(F) ->