summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-10-17 00:09:14 +0000
committerFred Hebert <mononcqc@ferd.ca>2015-10-17 00:09:14 +0000
commit6637ec45481b9ae37a3ed84c264eb0dbbe76628d (patch)
tree4331c06b1279ab54162a4dd43d2156bb84155f2d /src
parente0d7f262ac623952582f17008f021021f901aceb (diff)
Allow non-default checkouts dir for relx
fixes #872
Diffstat (limited to 'src')
-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),