summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_relx.erl2
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),