summaryrefslogtreecommitdiff
path: root/src/rebar_hooks.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-11-28 22:32:20 -0600
committerTristan Sloughter <t@crashfast.com>2014-11-29 08:42:06 -0600
commit14cb6803e0a0742613cd4e476c5db0e5a1b134e7 (patch)
treef1e6b831c0ac80239b9876083dafed6148f56ab9 /src/rebar_hooks.erl
parent8d655d3c502295394ab30d9fc3fd11679629885d (diff)
wip: profiles
Diffstat (limited to 'src/rebar_hooks.erl')
-rw-r--r--src/rebar_hooks.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_hooks.erl b/src/rebar_hooks.erl
index 3e6d533..e64b7eb 100644
--- a/src/rebar_hooks.erl
+++ b/src/rebar_hooks.erl
@@ -4,7 +4,7 @@
run_compile_hooks(Dir, Type, Command, State) ->
Hooks = rebar_state:get(State, Type, []),
- Env = [{"REBAR_DEPS_DIR", rebar_prv_install_deps:get_deps_dir(State)}],
+ Env = [{"REBAR_DEPS_DIR", rebar_utils:deps_dir(State)}],
lists:foreach(fun({_, C, _}=Hook) when C =:= Command ->
apply_hook(Dir, Env, Hook);
({C, _}=Hook) when C =:= Command ->