summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-09-14 11:09:19 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-09-14 11:09:19 -0500
commit49670721e1b91ae5d0a54002ea19af99c5b939b7 (patch)
treed172d9ebf263dc3f2e2b67407a81f79ab0701789 /src
parente718af2af4fc4e1a2c85b5ecc84a0dadddb8bbea (diff)
parentce19c2e16d96c122607a53f71e128f8119dd79b6 (diff)
Merge pull request #798 from garret-smith/fix_app_src_script
Terms is already a list
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 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