Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/scripts/InstallJdk.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Expand-Archive "$tempDir/jdk.zip" -d "$tempDir/jdk/"
Write-Host "Expanded JDK to $tempDir"
Write-Host "Installing JDK to $installDir"
# The name of the file directory within the zip is based on the version, but may contain a +N for build number.
Move-Item "$(Get-ChildItem -Path "$tempDir/jdk" | Select-Object -First 1)/*" $installDir
Move-Item "$tempDir/jdk/$(Get-ChildItem -Path "$tempDir/jdk" | Select-Object -First 1)/*" $installDir
Write-Host "Done installing JDK to $installDir"

if ($env:TF_BUILD) {
Expand Down
Loading