diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-09-06 10:21:36 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-09-06 14:50:08 -0500 |
commit | cfd4beb99daf5f0686cb2bd6a2ecda9d8e0fe86c (patch) | |
tree | 81066dd8c3d4e32e79945a6f5f4d7fafae2027b4 /src/rebar_hooks.erl | |
parent | 768889ad177cfb10d3cbace36047fba2f16a1315 (diff) |
hooks/artifacts are always run/resolved from an app unless at top of umbrella
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 f17e815..c3b17bb 100644 --- a/src/rebar_hooks.erl +++ b/src/rebar_hooks.erl @@ -111,7 +111,7 @@ create_env(State, Opts) -> {"REBAR_CHECKOUTS_DIR", filename:absname(rebar_dir:checkouts_dir(State))}, {"REBAR_PLUGINS_DIR", filename:absname(rebar_dir:plugins_dir(State))}, {"REBAR_GLOBAL_CONFIG_DIR", filename:absname(rebar_dir:global_config_dir(State))}, - {"REBAR_GLOBAL_CACHE_DIR", filename:absname(rebar_dir:global_cache_dir(State))}, + {"REBAR_GLOBAL_CACHE_DIR", filename:absname(rebar_dir:global_cache_dir(Opts))}, {"REBAR_TEMPLATE_DIR", filename:absname(rebar_dir:template_dir(State))}, {"REBAR_APP_DIRS", join_dirs(BaseDir, rebar_dir:lib_dirs(State))}, {"REBAR_SRC_DIRS", join_dirs(BaseDir, rebar_dir:all_src_dirs(Opts))}, |