From 6637ec45481b9ae37a3ed84c264eb0dbbe76628d Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Sat, 17 Oct 2015 00:09:14 +0000 Subject: Allow non-default checkouts dir for relx fixes #872 --- src/rebar_relx.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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), -- cgit v1.1