summaryrefslogtreecommitdiff
path: root/src/rebar_prv_update.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_update.erl')
-rw-r--r--src/rebar_prv_update.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_update.erl b/src/rebar_prv_update.erl
index c1aa14b..834e03f 100644
--- a/src/rebar_prv_update.erl
+++ b/src/rebar_prv_update.erl
@@ -35,10 +35,10 @@ do(State) ->
[Name] ->
?INFO("Updating ~s~n", [Name]),
- DepsDir = rebar_deps:get_deps_dir(State),
+ DepsDir = rebar_prv_deps:get_deps_dir(State),
Deps = rebar_state:get_local(State, deps, []),
{_, _, Source} = lists:keyfind(list_to_atom(Name), 1, Deps),
- TargetDir = rebar_deps:get_deps_dir(DepsDir, Name),
+ TargetDir = rebar_prv_deps:get_deps_dir(DepsDir, Name),
rebar_fetch:update_source1(TargetDir, Source),
[App] = rebar_app_discover:find_apps([TargetDir]),