summaryrefslogtreecommitdiff
path: root/src/rebar_file_utils.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2017-11-16 22:14:48 -0500
committerGitHub <noreply@github.com>2017-11-16 22:14:48 -0500
commit94976d51db59d644ad540ffcacd52dd2c4d83398 (patch)
treebf055a7d2b472d7c59d59330c8691c1e3b6342b3 /src/rebar_file_utils.erl
parent9d050dd2bf014a2d7a2890d19ff2b396ed27a4f5 (diff)
parent2d5cd9c00cfa4e58066b48beee4057fdd52cc7be (diff)
Merge pull request #1660 from ferd/otp-21-preparedness
OTP-21 readiness, Full Unicode support
Diffstat (limited to 'src/rebar_file_utils.erl')
-rw-r--r--src/rebar_file_utils.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_file_utils.erl b/src/rebar_file_utils.erl
index b0755ed..7a48a6a 100644
--- a/src/rebar_file_utils.erl
+++ b/src/rebar_file_utils.erl
@@ -190,7 +190,7 @@ cp_r(Sources, Dest) ->
case os:type() of
{unix, _} ->
EscSources = [rebar_utils:escape_chars(Src) || Src <- Sources],
- SourceStr = string:join(EscSources, " "),
+ SourceStr = rebar_string:join(EscSources, " "),
{ok, []} = rebar_utils:sh(?FMT("cp -Rp ~ts \"~ts\"",
[SourceStr, rebar_utils:escape_double_quotes(Dest)]),
[{use_stdout, false}, abort_on_error]),