We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60ed115 commit 2af5ffaCopy full SHA for 2af5ffa
eng/scripts/InstallJdk.ps1
@@ -46,7 +46,7 @@ Expand-Archive "$tempDir/jdk.zip" -d "$tempDir/jdk/"
46
Write-Host "Expanded JDK to $tempDir"
47
Write-Host "Installing JDK to $installDir"
48
# The name of the file directory within the zip is based on the version, but may contain a +N for build number.
49
-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
50
Write-Host "Done installing JDK to $installDir"
51
52
if ($env:TF_BUILD) {
0 commit comments