aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_config.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-05-24 13:14:40 -0500
committerTristan Sloughter <[email protected]>2014-05-24 13:15:10 -0500
commit3686e4b36f8d7d1df98c94633bd6cbf6135ccdd5 (patch)
treeef7a2373ddf10993ecae85e53da71561df5c1e51 /src/rlx_prv_config.erl
parent23d3d777a4fe67b661a7be0fa5a8ef3e30a48ef1 (diff)
downloadrelx-3686e4b36f8d7d1df98c94633bd6cbf6135ccdd5.tar.gz
relx-3686e4b36f8d7d1df98c94633bd6cbf6135ccdd5.tar.bz2
relx-3686e4b36f8d7d1df98c94633bd6cbf6135ccdd5.zip
fix cli/config file merging
Diffstat (limited to 'src/rlx_prv_config.erl')
-rw-r--r--src/rlx_prv_config.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_prv_config.erl b/src/rlx_prv_config.erl
index c795334..ebfe0dd 100644
--- a/src/rlx_prv_config.erl
+++ b/src/rlx_prv_config.erl
@@ -265,5 +265,5 @@ merge_configs([{Key, Value} | CliTerms], ConfigTerms) ->
merge_configs(CliTerms, [{Key, Value} | ConfigTerms])
end;
_ ->
- merge_configs(CliTerms, [{Key, Value} | ConfigTerms])
+ merge_configs(CliTerms, lists:keystore(Key, 1, ConfigTerms, {Key, Value}))
end.