fbt: add missing Force flag when moving toolchain from temp path (#2044)
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
b70395eba9
commit
0ab14c37c9
@ -36,11 +36,11 @@ Add-Type -Assembly "System.IO.Compression.Filesystem"
|
|||||||
# Expand-Archive -LiteralPath "$toolchain_zip_temp_path" -DestinationPath "$download_dir"
|
# Expand-Archive -LiteralPath "$toolchain_zip_temp_path" -DestinationPath "$download_dir"
|
||||||
|
|
||||||
Write-Host -NoNewline "moving.."
|
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 "done!"
|
||||||
|
|
||||||
Write-Host -NoNewline "Cleaning up temporary files.."
|
Write-Host -NoNewline "Cleaning up temporary files.."
|
||||||
Remove-Item -LiteralPath "$toolchain_zip_temp_path" -Force
|
Remove-Item -LiteralPath "$toolchain_zip_temp_path" -Force
|
||||||
Write-Host "done!"
|
Write-Host "done!"
|
||||||
|
|
||||||
# dasdasd
|
# dasdasd
|
||||||
|
Loading…
Reference in New Issue
Block a user