diff options
| author | Fred Hebert <mononcqc@ferd.ca> | 2015-01-26 15:01:10 -0500 |
|---|---|---|
| committer | Fred Hebert <mononcqc@ferd.ca> | 2015-01-26 15:01:10 -0500 |
| commit | 8dc39de9839b79d19ba9577d655669325184cb75 (patch) | |
| tree | 5f12423728cc1b41e8358eb69d63e92e2a1f991e /src/rebar_hooks.erl | |
| parent | 3bb1f3720eee65c3f21f0f1081435a8756b4f3e5 (diff) | |
| parent | 2c86edab93557528015e5baf0b10bb6580c1cd3d (diff) | |
Merge pull request #112 from tsloughter/stuff
Clean up and backwards compatability
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 fbc207e..a1a363e 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_dir:deps_dir(State)}], + Env = [{"REBAR_DEPS_DIR", filename:absname(rebar_dir:deps_dir(State))}], lists:foreach(fun({_, C, _}=Hook) when C =:= Command -> apply_hook(Dir, Env, Hook); ({C, _}=Hook) when C =:= Command -> |
