mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
Disable metrics in bootstrap. (#33350)
This commit is contained in:
parent
ef19b3e8bb
commit
2871ba731a
@ -63,7 +63,7 @@ if ($LASTEXITCODE -ne 0)
|
||||
throw
|
||||
}
|
||||
|
||||
& "$vcpkgRootDir\vcpkg.exe" version
|
||||
& "$vcpkgRootDir\vcpkg.exe" version --disable-metrics
|
||||
|
||||
if ($disableMetrics)
|
||||
{
|
||||
|
@ -250,7 +250,7 @@ else
|
||||
cp "$buildDir/vcpkg" "$vcpkgRootDir/"
|
||||
fi
|
||||
|
||||
"$vcpkgRootDir/vcpkg" version
|
||||
"$vcpkgRootDir/vcpkg" version --disable-metrics
|
||||
|
||||
# Apply the disable-metrics marker file.
|
||||
if [ "$vcpkgDisableMetrics" = "ON" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user