Commit cc26064
committed
Fix rez-pkg-cache to preserve symlinks instead of following them
By default, shutil.copytree follows symlinks which can cause failures
when symlink targets are inaccessible. This change adds symlinks=True
parameter to preserve symlinks instead of following them, matching the
default behavior of rez-cp.
Fixes #2047
Signed-off-by: pmady <pavan4devops@gmail.com>1 parent 9afb325 commit cc26064
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| |||
0 commit comments