summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-04-18 19:31:13 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-04-18 19:31:13 -0400
commit7d6822c37642b58d2da40081ae9b430b978539bd (patch)
tree55e5c8d863b8745123a745fc4a51202f70e56a14
parent032c0448ee115a25becef2586ca4642c9bad63e9 (diff)
parentc151f4e688bb78d49702b2e9630443d3025866c0 (diff)
Merge pull request #347 from tsloughter/add_pathsz
add to end of code path not the beginning in handle_deps
-rw-r--r--src/rebar_prv_install_deps.erl2
1 files changed, 1 insertions, 1 deletions
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}.