Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/956'
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Dec 26, 2023
2 parents 524cdbb + 008def2 commit df192ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/bootstrap/bootstrap-haskell.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,9 @@ if (!(Test-Path -Path ('{0}' -f $MsysDir))) {

Print-Msg -msg 'Extracting Msys2 archive...'
$null = & "$archivePath" '-y' ('-o{0}' -f $GhcupDir) # Extract
Remove-Item -Path "$archivePath"
# We ignore errors because we don't want the installation script to fail just because a temporary file can't be removed.
# Relevant issue: https://github.com/haskell/ghcup-hs/issues/952
Remove-Item -Path "$archivePath" -ErrorAction Continue

Print-Msg -msg 'Processing MSYS2 bash for first time use...'
Exec "$Bash" '-lc' 'exit'
Expand Down

0 comments on commit df192ee

Please sign in to comment.