Merge pull request #325 from saleyn/reltool

Fix return value of rebar_overlay
This commit is contained in:
Dave Smith 2012-10-20 12:06:04 -07:00
commit d896fbffa7

View file

@ -67,7 +67,7 @@ generate(Config0, ReltoolFile) ->
overlay(Config, ReltoolFile) ->
%% Load the reltool configuration from the file
{Config1, ReltoolConfig} = rebar_rel_utils:load_config(Config, ReltoolFile),
{Config1, process_overlay(Config, ReltoolConfig)}.
{process_overlay(Config, ReltoolConfig), Config1}.
clean(Config, ReltoolFile) ->
{Config1, ReltoolConfig} = rebar_rel_utils:load_config(Config, ReltoolFile),