Просмотр исходного кода

fbt: add missing Force flag when moving toolchain from temp path (#2044)

Co-authored-by: あく <alleteam@gmail.com>
Danil Kalashnikov 3 лет назад
Родитель
Сommit
0ab14c37c9
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      scripts/toolchain/windows-toolchain-download.ps1

+ 2 - 2
scripts/toolchain/windows-toolchain-download.ps1

@@ -36,11 +36,11 @@ Add-Type -Assembly "System.IO.Compression.Filesystem"
 # Expand-Archive -LiteralPath "$toolchain_zip_temp_path" -DestinationPath "$download_dir"
 
 Write-Host -NoNewline "moving.."
-Move-Item -LiteralPath "$toolchain_dist_temp_path" -Destination "$toolchain_target_path"
+Move-Item -LiteralPath "$toolchain_dist_temp_path" -Destination "$toolchain_target_path" -Force
 Write-Host "done!"
 
 Write-Host -NoNewline "Cleaning up temporary files.."
 Remove-Item -LiteralPath "$toolchain_zip_temp_path" -Force
 Write-Host "done!"
 
-# dasdasd
+# dasdasd