From 3e7a58ccd6da147ea4ccf835a115512ab5304f0f Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Sun, 22 Mar 2015 21:55:03 -0400 Subject: 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. --- src/rebar_prv_release.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.1