Skip to content

Commit 2af5ffa

Browse files
Fix InstallJdk script (#58557)
1 parent 60ed115 commit 2af5ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/scripts/InstallJdk.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Expand-Archive "$tempDir/jdk.zip" -d "$tempDir/jdk/"
4646
Write-Host "Expanded JDK to $tempDir"
4747
Write-Host "Installing JDK to $installDir"
4848
# 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
49+
Move-Item "$tempDir/jdk/$(Get-ChildItem -Path "$tempDir/jdk" | Select-Object -First 1)/*" $installDir
5050
Write-Host "Done installing JDK to $installDir"
5151

5252
if ($env:TF_BUILD) {

0 commit comments

Comments
 (0)