diff options
author | emtenet <[email protected]> | 2016-04-24 15:01:09 +1000 |
---|---|---|
committer | Tino Breddin <[email protected]> | 2019-04-16 15:56:55 +0200 |
commit | 07943b1b41e8d1ffdf8b9f770e623212581b12cd (patch) | |
tree | fac0bb10c8bc06919605dd2b76dbdd3b6726df30 /src/rlx_prv_app_discover.erl | |
parent | 9d47ab01be9819e0f69f7da73c71c34903f5b911 (diff) | |
download | relx-07943b1b41e8d1ffdf8b9f770e623212581b12cd.tar.gz relx-07943b1b41e8d1ffdf8b9f770e623212581b12cd.tar.bz2 relx-07943b1b41e8d1ffdf8b9f770e623212581b12cd.zip |
Do not create a junction (soft link) for files
When symlink_or_copy/2 cannot use file:make_symlink/2 on Windows due to the
user lacking SeCreateSymbolicLinkPrivilege it tries a fall back.
Detect the source type and use an appropriate fall back:
* junction for directories and,
* copy for files.
Improve error detection in win32_make_junction/2 and make it repeatable when
the target exists
Diffstat (limited to 'src/rlx_prv_app_discover.erl')
0 files changed, 0 insertions, 0 deletions