summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-11-07 09:01:48 -0600
committerTristan Sloughter <t@crashfast.com>2015-11-07 09:02:18 -0600
commitd2cd2710b11d9bc4af5055f8bb614d41fb5a3a42 (patch)
tree03966891180fc42a812ceabff5a518143be149b6
parent6090bf8430c0b36ad3178a6ac8a4542163cb9d78 (diff)
do not sort mib_first_files during merge_opts, order must be kept
-rw-r--r--src/rebar_opts.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rebar_opts.erl b/src/rebar_opts.erl
index 47451c5..97f39b8 100644
--- a/src/rebar_opts.erl
+++ b/src/rebar_opts.erl
@@ -111,6 +111,10 @@ merge_opts(NewOpts, OldOpts) ->
NewValue;
(profiles, NewValue, OldValue) ->
dict:to_list(merge_opts(dict:from_list(NewValue), dict:from_list(OldValue)));
+ (mib_first_files, Value, Value) ->
+ Value;
+ (mib_first_files, NewValue, OldValue) ->
+ OldValue ++ NewValue;
(_Key, NewValue, OldValue) when is_list(NewValue) ->
case io_lib:printable_list(NewValue) of
true when NewValue =:= [] ->