diff options
author | Tristan Sloughter <[email protected]> | 2014-05-24 13:14:40 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2014-05-24 13:15:10 -0500 |
commit | 3686e4b36f8d7d1df98c94633bd6cbf6135ccdd5 (patch) | |
tree | ef7a2373ddf10993ecae85e53da71561df5c1e51 /src/rlx_prv_config.erl | |
parent | 23d3d777a4fe67b661a7be0fa5a8ef3e30a48ef1 (diff) | |
download | relx-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.erl | 2 |
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. |