Skip to content

Commit d25723e

Browse files
authored
Handle symlink when using robocopy (#1400)
1 parent 860d444 commit d25723e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

windows/internal/clone.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ if exist "%NIGHTLIES_PYTORCH_ROOT%" (
66
if exist pytorch (
77
rmdir /s /q pytorch
88
)
9-
robocopy "%NIGHTLIES_PYTORCH_ROOT%" pytorch\ /e /np /nfl
9+
:: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy
10+
robocopy "%NIGHTLIES_PYTORCH_ROOT%" pytorch\ /e /np /nfl /sl
1011
cd pytorch
1112
)
1213
if exist "%NIGHTLIES_PYTORCH_ROOT%" goto submodule

0 commit comments

Comments
 (0)