diff options
| author | Tristan Sloughter <t@crashfast.com> | 2015-08-29 13:08:29 -0500 | 
|---|---|---|
| committer | Tristan Sloughter <t@crashfast.com> | 2015-08-29 13:08:41 -0500 | 
| commit | af395c5bca239cab83e300ffc487daf6f8aba987 (patch) | |
| tree | 40aa50dd46e1cd57a5eb6bc630bf82b7de77bf06 | |
| parent | bfd40d502b429100bab7980c7a0557b6d573e4ce (diff) | |
set parent on already fetched apps so tree works
| -rw-r--r-- | src/rebar_app_utils.erl | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/rebar_app_utils.erl b/src/rebar_app_utils.erl index 88b75ac..a7c78f5 100644 --- a/src/rebar_app_utils.erl +++ b/src/rebar_app_utils.erl @@ -165,7 +165,7 @@ dep_to_app(Parent, DepsDir, Name, Vsn, Source, IsLock, State) ->                          Dir = ec_cnv:to_list(filename:join(DepsDir, Name)),                          case rebar_app_info:discover(Dir) of                              {ok, App} -> -                                {ok, App}; +                                {ok, rebar_app_info:parent(App, Parent)};                              not_found ->                                  rebar_app_info:new(Parent, Name, Vsn, Dir, [])                          end | 
