Skip to content

Commit

Permalink
Handle symlink when using robocopy (#1400)
Browse files Browse the repository at this point in the history
  • Loading branch information
huydhn committed May 4, 2023
1 parent 860d444 commit d25723e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion windows/internal/clone.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ if exist "%NIGHTLIES_PYTORCH_ROOT%" (
if exist pytorch (
rmdir /s /q pytorch
)
robocopy "%NIGHTLIES_PYTORCH_ROOT%" pytorch\ /e /np /nfl
:: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy
robocopy "%NIGHTLIES_PYTORCH_ROOT%" pytorch\ /e /np /nfl /sl
cd pytorch
)
if exist "%NIGHTLIES_PYTORCH_ROOT%" goto submodule
Expand Down

0 comments on commit d25723e

Please sign in to comment.