diff options
author | Daniel Widgren <[email protected]> | 2015-06-23 14:28:16 +0200 |
---|---|---|
committer | Daniel Widgren <[email protected]> | 2015-06-25 21:03:30 +0200 |
commit | b0dc9ad8d3e96d8882e0edb3e94cc6c4b553afd3 (patch) | |
tree | 2780dfa227f7622f20f8867adce949fb49416f85 /src/rlx_util.erl | |
parent | 1d29547668dc0927cb56d84970a435022cab8411 (diff) | |
download | relx-b0dc9ad8d3e96d8882e0edb3e94cc6c4b553afd3.tar.gz relx-b0dc9ad8d3e96d8882e0edb3e94cc6c4b553afd3.tar.bz2 relx-b0dc9ad8d3e96d8882e0edb3e94cc6c4b553afd3.zip |
Fix paths for symlinks
Diffstat (limited to 'src/rlx_util.erl')
-rw-r--r-- | src/rlx_util.erl | 4 |
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; |