diff options
Diffstat (limited to 'src/rebar_config.erl')
-rw-r--r-- | src/rebar_config.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_config.erl b/src/rebar_config.erl index 3e06c38..d2b4a12 100644 --- a/src/rebar_config.erl +++ b/src/rebar_config.erl @@ -63,7 +63,8 @@ consult_file_(File) when is_binary(File) -> consult_file_(File) -> case filename:extension(File) of ".script" -> - consult_and_eval(remove_script_ext(File), File); + {ok, Terms} = consult_and_eval(remove_script_ext(File), File), + [Terms]; _ -> Script = File ++ ".script", case filelib:is_regular(Script) of |