Skip to content

Commit

Permalink
bootstrap-haskell.ps1: don't exit if tmp file removal fails
Browse files Browse the repository at this point in the history
  • Loading branch information
runeksvendsen committed Dec 20, 2023
1 parent e214695 commit 3976dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bootstrap/bootstrap-haskell.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ 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"
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 3976dad

Please sign in to comment.