diff options
author | Tristan Sloughter <t@crashfast.com> | 2018-10-05 07:58:36 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-05 07:58:36 -0600 |
commit | 6ea0a600b4f560565ca963b69c86b9e9cb0ea0b8 (patch) | |
tree | 75956f965f097ca08b21e0a05a5d0c3f04ae022d /src | |
parent | 8bcb7da1dd294f13bc8d2040ec88f0b41b941e1b (diff) |
upgrade relx and set base_dir in overlay_vars (#1902)
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_relx.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_relx.erl b/src/rebar_relx.erl index 4548761..431e1bc 100644 --- a/src/rebar_relx.erl +++ b/src/rebar_relx.erl @@ -40,7 +40,8 @@ do(Module, Command, Provider, State) -> ,{caller, api} ,{log_level, LogLevel} | output_dir(OutputDir, Options)] ++ ErlOpts, AllOptions); Config -> - Config1 = merge_overlays(Config), + Config1 = [{overlay_vars, [{base_dir, rebar_dir:base_dir(State)}]} + | merge_overlays(Config)], relx:main([{lib_dirs, LibDirs} ,{config, Config1} ,{caller, api} |