Merge pull request #1934 from nerdile/dev/nerdile/fix-bootstrap-win10sdk-detection

Fix Win10SDK detection during Bootstrap
This commit is contained in:
Alexander Karatarakis 2017-10-06 02:02:24 -07:00 committed by GitHub
commit 5e3d3fb8b4

View File

@ -20,7 +20,7 @@ $validInstances = New-Object System.Collections.ArrayList
# Windows 10 SDK
function CheckWindows10SDK($path)
{
$folder = "$path\Include"
$folder = (Join-Path $path "Include")
if (!(Test-Path $folder))
{
Write-Verbose "$folder - Not Found"
@ -37,7 +37,7 @@ function CheckWindows10SDK($path)
if (!(Test-Path $windowsheader))
{
Write-Verbose "$windowsheader - Not Found"
return
continue
}
Write-Verbose "$windowsheader - Found"
@ -45,7 +45,7 @@ function CheckWindows10SDK($path)
if (!(Test-Path $ddkheader))
{
Write-Verbose "$ddkheader - Not Found"
return
continue
}
Write-Verbose "$ddkheader - Found"