From c3c64c1d708e7c4947bc96982f1468f759930c6b Mon Sep 17 00:00:00 2001 From: Ulf Wiger Date: Tue, 17 Apr 2012 00:14:33 +0200 Subject: [PATCH] Fix file:script support --- src/rebar_config.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ->