diff options
| author | Tristan Sloughter <tristan.sloughter@gmail.com> | 2014-12-02 15:55:51 -0600 |
|---|---|---|
| committer | Tristan Sloughter <tristan.sloughter@gmail.com> | 2014-12-02 15:55:51 -0600 |
| commit | 3b2d9ba8c81a41ae5cd554a3f50283e713e191c8 (patch) | |
| tree | f5309346fc164fe3556e96db679b32bf5eca5a56 /src/rebar_hooks.erl | |
| parent | 8d655d3c502295394ab30d9fc3fd11679629885d (diff) | |
| parent | 3af351cec28521caaa15308b1a4a992380723794 (diff) | |
Merge pull request #31 from tsloughter/profiles
Profiles
Diffstat (limited to 'src/rebar_hooks.erl')
| -rw-r--r-- | src/rebar_hooks.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_hooks.erl b/src/rebar_hooks.erl index 3e6d533..fbc207e 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_dir:deps_dir(State)}], lists:foreach(fun({_, C, _}=Hook) when C =:= Command -> apply_hook(Dir, Env, Hook); ({C, _}=Hook) when C =:= Command -> |
