summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-03-22 21:55:03 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-03-22 21:55:03 -0400
commit3e7a58ccd6da147ea4ccf835a115512ab5304f0f (patch)
tree0c10378bbdc7316b4629c9b6bf516aa00ea29dab
parent2d430bf3e2766ad98e9a859a0de246abfd4eee3e (diff)
Reverse relx args order for config
With the new priority order, and knowing Relx processes things in reverse already (possibly building a dict internally), we should flip our options around to keep them correct.
-rw-r--r--src/rebar_prv_release.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_release.erl b/src/rebar_prv_release.erl
index 766bfe4..db012d5 100644
--- a/src/rebar_prv_release.erl
+++ b/src/rebar_prv_release.erl
@@ -47,7 +47,7 @@ do(State) ->
,{caller, Caller}], AllOptions);
Config ->
relx:main([{lib_dirs, LibDirs}
- ,{config, Config}
+ ,{config, lists:reverse(Config)}
,{output_dir, OutputDir}
,{caller, Caller}], AllOptions)
end,