fix variable name

This commit is contained in:
Mikhail Timofeev
2020-02-18 22:33:31 +03:00
parent 3aeecf18ab
commit 7a8a434503

View File

@@ -30,7 +30,7 @@ function Get-WDKVersion
{
$WDKVersion = (Get-WmiObject Win32_Product -Filter "Name = 'Windows Driver Kit'").version
if (!$WDK)
if (!$WDKVersion)
{
Write-Host "WDK was not found"
exit 1