summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2012-04-17 00:14:33 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-04-17 00:14:33 +0200
commitc3c64c1d708e7c4947bc96982f1468f759930c6b (patch)
treef60b77f79a0efccaa486bf35592ef132dbc52b2d
parent7c418ed2b4a4316e4a784b83c2ffbdc1adf33dbe (diff)
Fix file:script support
-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 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) ->