mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 09:53:01 +08:00
Inline variables
This commit is contained in:
parent
beb1250fe4
commit
8f89f41a06
@ -4,9 +4,7 @@ param(
|
||||
)
|
||||
|
||||
$scriptsDir = split-path -parent $MyInvocation.MyCommand.Definition
|
||||
$programFiles32 = & $scriptsDir\getProgramFiles32bit.ps1
|
||||
$programFilesP = & $scriptsDir\getProgramFilesPlatformBitness.ps1
|
||||
$CandidateProgramFiles = $programFiles32, $programFilesP
|
||||
$CandidateProgramFiles = $(& $scriptsDir\getProgramFiles32bit.ps1), $(& $scriptsDir\getProgramFilesPlatformBitness.ps1)
|
||||
|
||||
# Windows 10 SDK
|
||||
foreach ($ProgramFiles in $CandidateProgramFiles)
|
||||
|
Loading…
Reference in New Issue
Block a user