mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 05:59:07 +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
|
throw
|
||||||
}
|
}
|
||||||
|
|
||||||
& "$vcpkgRootDir\vcpkg.exe" version
|
& "$vcpkgRootDir\vcpkg.exe" version --disable-metrics
|
||||||
|
|
||||||
if ($disableMetrics)
|
if ($disableMetrics)
|
||||||
{
|
{
|
||||||
|
@ -250,7 +250,7 @@ else
|
|||||||
cp "$buildDir/vcpkg" "$vcpkgRootDir/"
|
cp "$buildDir/vcpkg" "$vcpkgRootDir/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"$vcpkgRootDir/vcpkg" version
|
"$vcpkgRootDir/vcpkg" version --disable-metrics
|
||||||
|
|
||||||
# Apply the disable-metrics marker file.
|
# Apply the disable-metrics marker file.
|
||||||
if [ "$vcpkgDisableMetrics" = "ON" ]; then
|
if [ "$vcpkgDisableMetrics" = "ON" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user