mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-28 15:55:47 +02:00
removed leading dash from exactMatch on line 37
this is in response to issue #78 "build_win2008.ps1 Failing version check" exactMatch sends the string "--exactMatch" to the CompareVersions function instead of $False
This commit is contained in:
parent
4ad1fa6626
commit
4d43b5793a
|
@ -34,7 +34,7 @@ If ($(Test-Path "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe") -eq $True)
|
|||
$vboxVersion = $vboxVersion.split("r")[0]
|
||||
}
|
||||
|
||||
If (CompareVersions -actualVersion $vboxVersion -expectedVersion $virtualBoxMinVersion --exactMatch $False) {
|
||||
If (CompareVersions -actualVersion $vboxVersion -expectedVersion $virtualBoxMinVersion -exactMatch $False) {
|
||||
Write-Host "Compatible version of VirtualBox found."
|
||||
} else {
|
||||
Write-Host "Could not find a compatible version of VirtualBox at C:\Program Files\Oracle\VirtualBox\. Please download and install it from https://www.virtualbox.org/"
|
||||
|
|
Loading…
Reference in New Issue
Block a user