Skip to content

Commit

Permalink
Restore ability to specify deps_dir on the command line
Browse files Browse the repository at this point in the history
It was previously possible to run `rebar compile deps_dir=/path/to/deps`,
but as of 70d27c5, it was nixed.
  • Loading branch information
yrashk authored and Tuncer Ayaz committed Sep 15, 2012
1 parent 22b703e commit 9a57e06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rebar_deps.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 9a57e06

Please sign in to comment.