From 132ac7a1806b78c6056c19f5420d00db1de68250 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 24 Jan 2024 17:06:54 -0500 Subject: [PATCH] tools: win: Switch to python3.bat The python.bat file is removed in never versions of depot_tools. --- tools/fix_style.bat | 2 +- tools/make_cppdocs.bat | 2 +- tools/make_distrib.bat | 2 +- tools/make_version_header.bat | 2 +- tools/patch.bat | 2 +- tools/patch_updater.bat | 2 +- tools/translator.bat | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/fix_style.bat b/tools/fix_style.bat index 09ea0be29..4fec1a3d7 100644 --- a/tools/fix_style.bat +++ b/tools/fix_style.bat @@ -1,2 +1,2 @@ @echo off -python.bat %~dp0\fix_style.py %* +python3.bat %~dp0\fix_style.py %* diff --git a/tools/make_cppdocs.bat b/tools/make_cppdocs.bat index d2eae345a..061758226 100644 --- a/tools/make_cppdocs.bat +++ b/tools/make_cppdocs.bat @@ -19,7 +19,7 @@ goto end :found_exe :: Environment variables inserted into the Doxyfile via `$(VAR_NAME)` syntax. -for /F %%i in ('python.bat %~dp0\cef_version.py current') do set PROJECT_NUMBER=%%i +for /F %%i in ('python3.bat %~dp0\cef_version.py current') do set PROJECT_NUMBER=%%i :: Run from the top-level CEF directory so that relative paths resolve correctly. set CURRENT_PATH="%CD%" diff --git a/tools/make_distrib.bat b/tools/make_distrib.bat index aea1ee544..aaac6d202 100644 --- a/tools/make_distrib.bat +++ b/tools/make_distrib.bat @@ -1,2 +1,2 @@ @echo off -python.bat %~dp0\make_distrib.py --output-dir %~dp0\..\binary_distrib\ %* +python3.bat %~dp0\make_distrib.py --output-dir %~dp0\..\binary_distrib\ %* diff --git a/tools/make_version_header.bat b/tools/make_version_header.bat index e88874642..15cdbc7c8 100644 --- a/tools/make_version_header.bat +++ b/tools/make_version_header.bat @@ -1,2 +1,2 @@ @echo off -python.bat tools\make_version_header.py include\cef_version.h +python3.bat tools\make_version_header.py include\cef_version.h diff --git a/tools/patch.bat b/tools/patch.bat index ae3616d86..0e0e27d0a 100644 --- a/tools/patch.bat +++ b/tools/patch.bat @@ -1,2 +1,2 @@ @echo off -python.bat %~dp0\patcher.py \ No newline at end of file +python3.bat %~dp0\patcher.py \ No newline at end of file diff --git a/tools/patch_updater.bat b/tools/patch_updater.bat index 94ca4de89..c33a4141c 100644 --- a/tools/patch_updater.bat +++ b/tools/patch_updater.bat @@ -1,2 +1,2 @@ @echo off -python.bat %~dp0\patch_updater.py %* \ No newline at end of file +python3.bat %~dp0\patch_updater.py %* \ No newline at end of file diff --git a/tools/translator.bat b/tools/translator.bat index 348700a50..d87b79bdd 100644 --- a/tools/translator.bat +++ b/tools/translator.bat @@ -1,3 +1,3 @@ @echo off -call python.bat %~dp0\translator.py --root-dir %~dp0\.. %* +call python3.bat %~dp0\translator.py --root-dir %~dp0\.. %* pause \ No newline at end of file