diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-10-17 12:04:16 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-10-17 12:04:16 -0500 |
commit | 40f3f883a8c7596807627bc20f7b315046817585 (patch) | |
tree | 4331c06b1279ab54162a4dd43d2156bb84155f2d | |
parent | e0d7f262ac623952582f17008f021021f901aceb (diff) | |
parent | 6637ec45481b9ae37a3ed84c264eb0dbbe76628d (diff) |
Merge pull request #877 from ferd/fix-checkouts-relx
Allow non-default checkouts dir for relx
-rw-r--r-- | src/rebar_relx.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_relx.erl b/src/rebar_relx.erl index 699c780..36a24f0 100644 --- a/src/rebar_relx.erl +++ b/src/rebar_relx.erl @@ -18,7 +18,7 @@ do(Module, Command, Provider, State) -> DepsDir = rebar_dir:deps_dir(State), ProjectAppDirs = lists:delete(".", ?DEFAULT_PROJECT_APP_DIRS), LibDirs = rebar_utils:filtermap(fun ec_file:exists/1, - [?DEFAULT_CHECKOUTS_DIR, DepsDir | ProjectAppDirs]), + [rebar_dir:checkouts_dir(State), DepsDir | ProjectAppDirs]), OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR), AllOptions = string:join([Command | Options], " "), Cwd = rebar_state:dir(State), |