summaryrefslogtreecommitdiff
path: root/src/rebar_prv_tar.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_tar.erl')
-rw-r--r--src/rebar_prv_tar.erl7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/rebar_prv_tar.erl b/src/rebar_prv_tar.erl
index 0225e19..f9c261f 100644
--- a/src/rebar_prv_tar.erl
+++ b/src/rebar_prv_tar.erl
@@ -33,10 +33,9 @@ init(State) ->
-spec do(rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}.
do(State) ->
Options = rebar_state:command_args(State),
- DepsDir = rebar_dir:default_deps_dir(State),
- ProfileDepsDir = rebar_dir:deps_dir(State),
- LibDirs = lists:usort(rebar_utils:filtermap(fun ec_file:exists/1, [DepsDir, ProfileDepsDir])),
- OutputDir = filename:join(rebar_dir:profile_dir(State), ?DEFAULT_RELEASE_DIR),
+ DepsDir = rebar_dir:deps_dir(State),
+ LibDirs = lists:usort(rebar_utils:filtermap(fun ec_file:exists/1, [DepsDir])),
+ OutputDir = filename:join(rebar_dir:base_dir(State), ?DEFAULT_RELEASE_DIR),
AllOptions = string:join(["release", "tar" | Options], " "),
case rebar_state:get(State, relx, []) of
[] ->