From 15e39a9370ffa842e3ee64a8f7f1d64dd25b2130 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 21 Nov 2012 14:32:50 -0500 Subject: support specifing overrides in the configuration Signed-off-by: Jordan Wilberding --- src/rcl_prv_config.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rcl_prv_config.erl') 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 -- cgit v1.2.3