summaryrefslogtreecommitdiff
path: root/xmake/scripts/update-script.bat
diff options
context:
space:
mode:
authorcouc <[email protected]>2022-06-06 10:19:05 +0800
committercouc <[email protected]>2022-06-06 10:19:05 +0800
commitad74f3fd1c2c5bf9a95ccad188cf1e412e223235 (patch)
tree79ae2d8a232c4461a53c155fc7bb2145ab45f314 /xmake/scripts/update-script.bat
parent62634f53cec45e92c43fa87fa194713cd0aa7413 (diff)
fix that files cannot be copied to the installation directory correctly when updating when there is a soft link(directory junction) in the installation path.
Diffstat (limited to 'xmake/scripts/update-script.bat')
-rw-r--r--xmake/scripts/update-script.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/update-script.bat b/xmake/scripts/update-script.bat
index 760db0817..43084ffda 100644
--- a/xmake/scripts/update-script.bat
+++ b/xmake/scripts/update-script.bat
@@ -4,4 +4,4 @@ echo Removing old files
cd /d "%~1"
del actions core includes languages modules platforms plugins repository rules scripts templates themes /S /Q /F >nul
echo Copying from temp directory to "%~1"
-xcopy "%~2" "%~1" /S /Y /Q >nul \ No newline at end of file
+robocopy "%~2" "%~1" /S /IS /NFL /NDL /NJH /NJS >nul