summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorViacheslav V. Kovalev <kovyl2404@gmail.com>2015-06-27 00:28:25 +0300
committerViacheslav V. Kovalev <kovyl2404@gmail.com>2015-06-27 00:28:25 +0300
commit93cfa4b0b350656b509918e1506dfdbc0891abdc (patch)
treeed1f2dd46c72351824afd98675c5a419a831148c /src
parent9a83c35a6fbfcebd1ca92c166efc930fc0f5d4c5 (diff)
parentebfdbc695ef8bf615ab28fba1d8c22752f21e1cd (diff)
Merge branch 'fix-comments' of git://github.com/Taure/rebar3 into Taure-fix-comments
Conflicts: src/rebar_prv_common_test.erl
Diffstat (limited to 'src')
-rw-r--r--src/rebar_file_utils.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_file_utils.erl b/src/rebar_file_utils.erl
index 735ab49..3fc5698 100644
--- a/src/rebar_file_utils.erl
+++ b/src/rebar_file_utils.erl
@@ -83,7 +83,7 @@ symlink_or_copy(Source, Target) ->
true ->
win32_symlink(S, T);
false ->
- ok
+ cp_r([S], T)
end;
_ ->
case filelib:is_dir(Target) of
@@ -104,7 +104,7 @@ win32_symlink(Source, Target) ->
true -> ok;
false ->
{error, lists:flatten(
- io_lib:format("Failed to sumlink ~s to ~s~n",
+ io_lib:format("Failed to symlink ~s to ~s~n",
[Source, Target]))}
end.