From d25723e058a44ac396c441c627006ba403c251b6 Mon Sep 17 00:00:00 2001 From: Huy Do Date: Thu, 4 May 2023 13:22:46 -0700 Subject: [PATCH] Handle symlink when using robocopy (#1400) --- windows/internal/clone.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/windows/internal/clone.bat b/windows/internal/clone.bat index 4ea67be7e..dbb19966c 100755 --- a/windows/internal/clone.bat +++ b/windows/internal/clone.bat @@ -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