Skip to content

Commit

Permalink
fix: PowerShell zero-install now works again (quarkusio#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
quintesse authored Dec 2, 2020
1 parent 1b5a8b9 commit f61aa98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scripts/jbang.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if (Test-Path "$PSScriptRoot\jbang.jar") {
New-Item -ItemType Directory -Force -Path "$JBDIR\bin" >$null 2>&1
Remove-Item -LiteralPath "$JBDIR\bin\jbang" -Force -ErrorAction Ignore >$null 2>&1
Remove-Item -Path "$JBDIR\bin\jbang.*" -Force -ErrorAction Ignore >$null 2>&1
Copy-Item -Path "$TDIR\urls\jbang\bin" -Destination "$JBDIR" -Force >$null 2>&1
Copy-Item -Path "$TDIR\urls\jbang\bin\*" -Destination "$JBDIR\bin" -Force >$null 2>&1
}
. "$JBDIR\bin\jbang.ps1" $args
break
Expand Down

0 comments on commit f61aa98

Please sign in to comment.