summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-02-28 15:20:24 -0600
committerTristan Sloughter <t@crashfast.com>2015-02-28 15:20:48 -0600
commit9fc885073b4772f646d39fc5ba257c34f0b05742 (patch)
tree0c2f6ff15873322e5fd5d1ddfc8a97bae871d315 /src
parent440f0d7524d1908ed34b54395a88455b4673e93f (diff)
use same symlink or copy function for deps links
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_install_deps.erl2
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, _} ->