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,7 +36,7 @@ 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.."
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user