mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Toolchain: Actually disable vcpkg metrics
In the move to a python version of this script, I didn't notice that running the bootstrap script in shell mode precluded it from actually accepting the -disableMetrics argument. Existing vcpkg installs can be un-metrics'd by re-running the bootstrap script with the disable argument, or by adding a vcpkg.disable-metrics file in $VCPKG_ROOT
This commit is contained in:
committed by
Jelle Raaijmakers
parent
2d0fdf804e
commit
e20a887a8d
@@ -31,7 +31,7 @@ def main() -> int:
|
|||||||
subprocess.check_call(args=["git", "checkout", git_rev], cwd=vcpkg_checkout)
|
subprocess.check_call(args=["git", "checkout", git_rev], cwd=vcpkg_checkout)
|
||||||
|
|
||||||
bootstrap_script = "bootstrap-vcpkg.bat" if os.name == 'nt' else "bootstrap-vcpkg.sh"
|
bootstrap_script = "bootstrap-vcpkg.bat" if os.name == 'nt' else "bootstrap-vcpkg.sh"
|
||||||
subprocess.check_call(args=[vcpkg_checkout / bootstrap_script, "-disableMetrics"], cwd=vcpkg_checkout, shell=True)
|
subprocess.check_call(args=[vcpkg_checkout / bootstrap_script, "-disableMetrics"], cwd=vcpkg_checkout)
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user