summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2012-04-17 20:36:03 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-04-17 20:36:03 +0200
commitafffb4895a76d17490ffb841b791d199fb9aa7a1 (patch)
treee3c09f784cd931035b166b603c7d945fcef1e25a /src
parent47716a7ed8ef0cc7924de40783471408b568b696 (diff)
Use correct value for file:script SCRIPT binding
Diffstat (limited to 'src')
-rw-r--r--src/rebar_config.erl2
1 files changed, 1 insertions, 1 deletions
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) ->