aboutsummaryrefslogtreecommitdiff
path: root/scripts/findAnyMSBuildWithCppPlatformToolset.ps1
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-11-09 21:41:16 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-11-09 21:41:16 -0800
commit7eb0095094f62719d9f28c694d2bd6b3d003f090 (patch)
tree9ece35added03586cc67df01b139d842740eaa3b /scripts/findAnyMSBuildWithCppPlatformToolset.ps1
parent615f7e112f38cf82dd1cec9d519501938f755324 (diff)
downloadvcpkg-7eb0095094f62719d9f28c694d2bd6b3d003f090.tar.gz
vcpkg-7eb0095094f62719d9f28c694d2bd6b3d003f090.zip
Rename $explicitlyRequestedVSPath to $withVSPath
Diffstat (limited to 'scripts/findAnyMSBuildWithCppPlatformToolset.ps1')
-rw-r--r--scripts/findAnyMSBuildWithCppPlatformToolset.ps16
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/findAnyMSBuildWithCppPlatformToolset.ps1 b/scripts/findAnyMSBuildWithCppPlatformToolset.ps1
index d9ffbd32a..e58b58c04 100644
--- a/scripts/findAnyMSBuildWithCppPlatformToolset.ps1
+++ b/scripts/findAnyMSBuildWithCppPlatformToolset.ps1
@@ -1,10 +1,10 @@
[CmdletBinding()]
param(
[Parameter(Mandatory=$False)]
- [string]$explicitlyRequestedVSPath = ""
+ [string]$withVSPath = ""
)
-$explicitlyRequestedVSPath = $explicitlyRequestedVSPath -replace "\\$" # Remove potential trailing backslash
+$withVSPath = $withVSPath -replace "\\$" # Remove potential trailing backslash
$scriptsDir = split-path -parent $MyInvocation.MyCommand.Definition
$VisualStudioInstallationInstances = & $scriptsDir\findVisualStudioInstallationInstances.ps1
@@ -19,7 +19,7 @@ foreach ($instanceCandidateWithEOL in $VisualStudioInstallationInstances)
$version = $split[2]
$path = $split[3]
- if ($explicitlyRequestedVSPath -ne "" -and $explicitlyRequestedVSPath -ne $path)
+ if ($withVSPath -ne "" -and $withVSPath -ne $path)
{
Write-Verbose "Skipping: $instanceCandidate"
continue