diff options
author | Eric <[email protected]> | 2012-11-21 14:32:50 -0500 |
---|---|---|
committer | Jordan Wilberding <[email protected]> | 2012-11-21 16:44:04 -0700 |
commit | 15e39a9370ffa842e3ee64a8f7f1d64dd25b2130 (patch) | |
tree | c108843e51c7b1beb66317391355aea0cd31e138 /src/rcl_prv_config.erl | |
parent | 79ae49d3c415627ff8e399e78828f373f38ec27a (diff) | |
download | relx-15e39a9370ffa842e3ee64a8f7f1d64dd25b2130.tar.gz relx-15e39a9370ffa842e3ee64a8f7f1d64dd25b2130.tar.bz2 relx-15e39a9370ffa842e3ee64a8f7f1d64dd25b2130.zip |
support specifing overrides in the configuration
Signed-off-by: Jordan Wilberding <[email protected]>
Diffstat (limited to 'src/rcl_prv_config.erl')
-rw-r--r-- | src/rcl_prv_config.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rcl_prv_config.erl b/src/rcl_prv_config.erl index 7a1cd19..ee1c770 100644 --- a/src/rcl_prv_config.erl +++ b/src/rcl_prv_config.erl @@ -82,7 +82,8 @@ load_terms({add_providers, Providers0}, {ok, State0}) -> ExistingProviders = rcl_state:providers(State1), {ok, rcl_state:providers(State1, ExistingProviders ++ Providers3)} end; - +load_terms({overrides, Overrides0}, {ok, State0}) -> + {ok, rcl_state:overrides(State0, Overrides0)}; load_terms({release, {RelName, Vsn}, Applications}, {ok, State0}) -> Release0 = rcl_release:new(RelName, Vsn), case rcl_release:goals(Release0, Applications) of |