From 9fc885073b4772f646d39fc5ba257c34f0b05742 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 28 Feb 2015 15:20:24 -0600 Subject: use same symlink or copy function for deps links --- src/rebar_prv_install_deps.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, _} -> -- cgit v1.1