mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:59:06 +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…
Reference in New Issue
Block a user