summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-11-12 09:19:19 -0500
committerFred Hebert <mononcqc@ferd.ca>2015-11-12 09:19:19 -0500
commitb137a070df67866c4449c8bc977a3d6eae4d0e7f (patch)
tree03966891180fc42a812ceabff5a518143be149b6 /src
parent6090bf8430c0b36ad3178a6ac8a4542163cb9d78 (diff)
parentd2cd2710b11d9bc4af5055f8bb614d41fb5a3a42 (diff)
Merge pull request #912 from tsloughter/mib_first_files
do not sort mib_first_files during merge_opts, order must be kept
Diffstat (limited to 'src')
-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 =:= [] ->