summaryrefslogtreecommitdiff
path: root/src/rebar_deps.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_deps.erl')
-rw-r--r--src/rebar_deps.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_deps.erl b/src/rebar_deps.erl
index 67652e3..699f189 100644
--- a/src/rebar_deps.erl
+++ b/src/rebar_deps.erl
@@ -185,7 +185,8 @@ setup_env(Config) ->
%% Sets a default if root config has no deps_dir set
set_shared_deps_dir(Config, []) ->
rebar_config:set_xconf(Config, deps_dir,
- rebar_config:get_local(Config, deps_dir, "deps"));
+ rebar_config:get_local(Config, deps_dir,
+ rebar_config:get_global(Config, deps_dir, "deps")));
set_shared_deps_dir(Config, _DepsDir) ->
Config.