aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rlx_util.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rlx_util.erl b/src/rlx_util.erl
index f732055..775d78d 100644
--- a/src/rlx_util.erl
+++ b/src/rlx_util.erl
@@ -222,7 +222,9 @@ symlink_or_copy(Source, Target) ->
{error, _} ->
case os:type() of
{win32, _} ->
- win32_symlink(Source, Target);
+ S = unicode:characters_to_list(Source),
+ T = unicode:characters_to_list(Target),
+ win32_symlink(filename:nativename(S), filename:nativename(T));
_ ->
case filelib:is_dir(Target) of
true -> ok;