anchor.diff:      Name2 = make_dep_name(Name1, Co1),
   
       %% command options: clone url path/to/dep -b Branch/Tag
  -    Opts = ["clone", Url, get_path(Name2), "-b", Co1],
  +    Opts = ["clone", Url, dep_path(Name2), "-b", Co1],
       io:format("dependency: ~s~n", [Name1]),
   
       %% run the command
       exec(Cmd, Opts),
   
       %% check dependencies of the dependency
  -    case deps(rebar_config_file(get_path(Name2))) of
  +    RebarFile = rebar_conf_file(dep_path(Name2)),
  +    case deps(RebarFile) of
           {ok, Deps} ->
               do_clone_deps(Deps);
           {error, _} ->
  
positive.code:     end,
  
      %% check dependencies of the dependency
      case deps(rebar_config_file(get_path(Name2))) of
          {ok, Deps} ->
              compile_deps(Deps);
          {error, _} ->
  
negative.code:     {ok, [[H|_]]} = init:get_argument(home),
      H.
  
  dep_path(X) ->
      %% ~/.otp/deps/X
      filename:join([?DEPS_PATH, X]).
  
  rebar_conf_file(X) ->
      filename:join([X, "rebar.config"]).
  
  ebin(X) ->
      %% X/ebin
      filename:join([dep_path(X), "ebin"]).
  
  src(X) ->
      %% X/src
      filename:join([dep_path(X), "src"]).
  
  include(X) ->
      %% X/include
  