diff options
author | Garret Smith <garret.smith@gmail.com> | 2015-09-11 16:35:38 -0700 |
---|---|---|
committer | Garret Smith <garret.smith@gmail.com> | 2015-09-11 16:35:38 -0700 |
commit | ce19c2e16d96c122607a53f71e128f8119dd79b6 (patch) | |
tree | 8b85a0669cd673eada275f982cf0a5e26b7126d5 /src | |
parent | 0d3dc5f39a4b0b02c3f3ed673a7713a8a4e15c69 (diff) |
Terms is already a list
Fixes compiling yaws, which has an .app.src.script file
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_config.erl | 2 |
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 |