diff --git a/helpers/v8_build.py b/helpers/v8_build.py index 99d09ea3..92da164f 100644 --- a/helpers/v8_build.py +++ b/helpers/v8_build.py @@ -11,7 +11,7 @@ from shlex import join as shlexjoin from shutil import copyfile, rmtree from subprocess import check_call -from sys import platform +from sys import executable, platform basicConfig() LOGGER = getLogger(__name__) @@ -89,7 +89,13 @@ def ensure_v8_src(revision): if not isfile(pathjoin(get_workspace_path(), ".gclient")): makedirs(get_workspace_path(), exist_ok=True) - run("fetch", "--nohooks", "v8", cwd=get_workspace_path()) + run( + executable, + pathjoin(get_workspace_path(), "fetch.py"), + "--nohooks", + "v8", + cwd=get_workspace_path(), + ) run("gclient", "sync", "--revision", f"v8@{revision}", cwd=get_workspace_path())