diff options
-rw-r--r-- | src/rebar_prv_install_deps.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index 952043e..f702936 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -380,7 +380,7 @@ maybe_fetch(AppInfo, Upgrade, Seen, State) -> {true, FoundApp} -> ?INFO("Linking ~s to ~s", [rebar_app_info:dir(FoundApp), 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 end; {true, _} -> |