From 9521586bddb6edba57a33c230dae798084ad5f92 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sat, 15 Sep 2012 19:05:15 +0200 Subject: [PATCH] rebar_deps: fix whitespace errors --- src/rebar_deps.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rebar_deps.erl b/src/rebar_deps.erl index 699f189..c178e7b 100644 --- a/src/rebar_deps.erl +++ b/src/rebar_deps.erl @@ -184,9 +184,9 @@ setup_env(Config) -> %% need all deps in same dir and should be the one set by the root rebar.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, - rebar_config:get_global(Config, deps_dir, "deps"))); + GlobalDepsDir = rebar_config:get_global(Config, deps_dir, "deps"), + DepsDir = rebar_config:get_local(Config, deps_dir, GlobalDepsDir), + rebar_config:set_xconf(Config, deps_dir, DepsDir); set_shared_deps_dir(Config, _DepsDir) -> Config.