浏览代码

add to end of code path not the beginning in handle_deps

pull/347/head
Tristan Sloughter 10 年前
父节点
当前提交
c151f4e688
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_prv_install_deps.erl

+ 1
- 1
src/rebar_prv_install_deps.erl 查看文件

@ -153,7 +153,7 @@ handle_deps(Profile, State0, Deps, Upgrade, Locks) ->
%% Sort all apps to build order %% Sort all apps to build order
State3 = rebar_state:all_deps(State2, AllDeps), State3 = rebar_state:all_deps(State2, AllDeps),
CodePaths = [rebar_app_info:ebin_dir(A) || A <- AllDeps], CodePaths = [rebar_app_info:ebin_dir(A) || A <- AllDeps],
ok = code:add_pathsa(CodePaths),
ok = code:add_pathsz(CodePaths),
{ok, AllDeps, State3}. {ok, AllDeps, State3}.

正在加载...
取消
保存