diff options
| author | Stuart Thackray <stuart.thackray@gmail.com> | 2017-01-06 12:57:03 +0200 |
|---|---|---|
| committer | Stuart Thackray <stuart.thackray@gmail.com> | 2017-01-06 12:57:03 +0200 |
| commit | 71187514dabdd94aa333495d92df84a2e750099f (patch) | |
| tree | 74e3257522e3c9697a8b3aa1fa3a589d8a3ddf9b /src/rebar_prv_install_deps.erl | |
| parent | 8fb8a91130e0e5c239bb837b9adc4ad71e5806b8 (diff) | |
| parent | 91a25c11841314e35b095ea0382867c090616ff1 (diff) | |
Merged branch master into master
Diffstat (limited to 'src/rebar_prv_install_deps.erl')
| -rw-r--r-- | src/rebar_prv_install_deps.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index 5e6aa4c..a8a7ea0 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -352,10 +352,14 @@ make_relative_to_root(State, Path) when is_list(Path) -> rebar_dir:make_relative_path(Path, Root). fetch_app(AppInfo, AppDir, State) -> - ?INFO("Fetching ~s (~p)", [rebar_app_info:name(AppInfo), rebar_app_info:source(AppInfo)]), + ?INFO("Fetching ~s (~p)", [rebar_app_info:name(AppInfo), + format_source(rebar_app_info:source(AppInfo))]), Source = rebar_app_info:source(AppInfo), true = rebar_fetch:download_source(AppDir, Source, State). +format_source({pkg, Name, Vsn, _Hash}) -> {pkg, Name, Vsn}; +format_source(Source) -> Source. + %% This is called after the dep has been downloaded and unpacked, if it hadn't been already. %% So this is the first time for newly downloaded apps that its .app/.app.src data can %% be read in an parsed. |
