From ce19c2e16d96c122607a53f71e128f8119dd79b6 Mon Sep 17 00:00:00 2001 From: Garret Smith Date: Fri, 11 Sep 2015 16:35:38 -0700 Subject: Terms is already a list Fixes compiling yaws, which has an .app.src.script file --- src/rebar_config.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.1