summaryrefslogtreecommitdiff
path: root/src/rebar_prv_compile.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_compile.erl')
-rw-r--r--src/rebar_prv_compile.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index 893fd76..221876b 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -42,8 +42,8 @@ do(State) ->
Jobs = rebar_state:get(State1, jobs),
ProjectApps = rebar_state:project_apps(State1),
- Deps = rebar_state:get(State1, deps_to_build, []),
- Cwd = rebar_utils:get_cwd(),
+ Deps = rebar_state:deps_to_build(State1),
+ Cwd = rebar_dir:get_cwd(),
rebar_hooks:run_compile_hooks(Cwd, pre_hooks, compile, State1),
%% Need to allow global config vars used on deps