From afffb4895a76d17490ffb841b791d199fb9aa7a1 Mon Sep 17 00:00:00 2001 From: Ulf Wiger Date: Tue, 17 Apr 2012 20:36:03 +0200 Subject: Use correct value for file:script SCRIPT binding --- src/rebar_config.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rebar_config.erl b/src/rebar_config.erl index fcb5d62..8065c4e 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(Script, bs([{'CONFIG', ConfigData}, {'SCRIPT', File}])). + file:script(Script, bs([{'CONFIG', ConfigData}, {'SCRIPT', Script}])). remove_script_ext(F) -> -- cgit v1.1