From c151f4e688bb78d49702b2e9630443d3025866c0 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 18 Apr 2015 17:48:34 -0500 Subject: add to end of code path not the beginning in handle_deps --- src/rebar_prv_install_deps.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index c39afad..1884a9c 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -153,7 +153,7 @@ handle_deps(Profile, State0, Deps, Upgrade, Locks) -> %% Sort all apps to build order State3 = rebar_state:all_deps(State2, AllDeps), CodePaths = [rebar_app_info:ebin_dir(A) || A <- AllDeps], - ok = code:add_pathsa(CodePaths), + ok = code:add_pathsz(CodePaths), {ok, AllDeps, State3}. -- cgit v1.1