summaryrefslogtreecommitdiff
path: root/src/rebar_config.erl
diff options
context:
space:
mode:
authorGarret Smith <garret.smith@gmail.com>2015-09-11 16:35:38 -0700
committerGarret Smith <garret.smith@gmail.com>2015-09-11 16:35:38 -0700
commitce19c2e16d96c122607a53f71e128f8119dd79b6 (patch)
tree8b85a0669cd673eada275f982cf0a5e26b7126d5 /src/rebar_config.erl
parent0d3dc5f39a4b0b02c3f3ed673a7713a8a4e15c69 (diff)
Terms is already a list
Fixes compiling yaws, which has an .app.src.script file
Diffstat (limited to 'src/rebar_config.erl')
-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 b9b8b2e..44072e8 100644
--- a/src/rebar_config.erl
+++ b/src/rebar_config.erl
@@ -64,7 +64,7 @@ consult_file_(File) ->
case filename:extension(File) of
".script" ->
{ok, Terms} = consult_and_eval(remove_script_ext(File), File),
- [Terms];
+ Terms;
_ ->
Script = File ++ ".script",
case filelib:is_regular(Script) of