From 0ab14c37c96083d7818640d2a4c24a02be4fc0cf Mon Sep 17 00:00:00 2001 From: Danil Kalashnikov Date: Tue, 29 Nov 2022 20:31:32 +0700 Subject: [PATCH] fbt: add missing Force flag when moving toolchain from temp path (#2044) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: あく --- scripts/toolchain/windows-toolchain-download.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/toolchain/windows-toolchain-download.ps1 b/scripts/toolchain/windows-toolchain-download.ps1 index c96bb119..05ea4be2 100644 --- a/scripts/toolchain/windows-toolchain-download.ps1 +++ b/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 \ No newline at end of file +# dasdasd