Browse Source

use same symlink or copy function for deps links

pull/195/head
Tristan Sloughter 10 years ago
parent
commit
9fc885073b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_prv_install_deps.erl

+ 1
- 1
src/rebar_prv_install_deps.erl View File

@ -380,7 +380,7 @@ maybe_fetch(AppInfo, Upgrade, Seen, State) ->
{true, FoundApp} -> {true, FoundApp} ->
?INFO("Linking ~s to ~s", [rebar_app_info:dir(FoundApp), AppDir]), ?INFO("Linking ~s to ~s", [rebar_app_info:dir(FoundApp), AppDir]),
filelib:ensure_dir(AppDir), filelib:ensure_dir(AppDir),
ok = file:make_symlink(rebar_app_info:dir(FoundApp), AppDir),
rebar_file_utils:symlink_or_copy(rebar_app_info:dir(FoundApp), AppDir),
true true
end; end;
{true, _} -> {true, _} ->

Loading…
Cancel
Save