diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-19 19:01:04 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-19 19:01:04 -0700 |
| commit | f78c64e3a958a0aa7688af9710d4969eb286bff3 (patch) | |
| tree | a6e004993311e38569c4759993fc9f800dc9ad33 /scripts | |
| parent | b9a0cee78d01df2a879dee3e4e01800fb3cf3391 (diff) | |
| download | vcpkg-f78c64e3a958a0aa7688af9710d4969eb286bff3.tar.gz vcpkg-f78c64e3a958a0aa7688af9710d4969eb286bff3.zip | |
Remove unused function
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/fetchDependency.ps1 | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/fetchDependency.ps1 b/scripts/fetchDependency.ps1 index 3cc874744..2f3d992ba 100644 --- a/scripts/fetchDependency.ps1 +++ b/scripts/fetchDependency.ps1 @@ -12,17 +12,6 @@ $downloadsDir = "$vcpkgRootDir\downloads" function SelectProgram([Parameter(Mandatory=$true)][string]$Dependency) { - function hasGreaterOrEqualVersion([Parameter(Mandatory=$true)]$requiredVersion, [Parameter(Mandatory=$true)]$availableVersion) - { - if ($availableVersion[0] -gt $requiredVersion[0]) {return $true} - if ($availableVersion[0] -lt $requiredVersion[0]) {return $false} - - if ($availableVersion[1] -gt $requiredVersion[1]) {return $true} - if ($availableVersion[1] -lt $requiredVersion[1]) {return $false} - - return ($availableVersion[2] -ge $requiredVersion[2]) - } - function promptForDownload([string]$title, [string]$message, [string]$yesDescription, [string]$noDescription) { if ((Test-Path "$downloadsDir\AlwaysAllowEverything") -Or (Test-Path "$downloadsDir\AlwaysAllowDownloads")) |
