From 27f807989532a11a57aa832246dc35871154b982 Mon Sep 17 00:00:00 2001 From: Rmys Date: Tue, 9 Jan 2024 22:50:13 +0300 Subject: [PATCH] firefox-121.0.1 --- network/web/firefox/actions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/network/web/firefox/actions.py b/network/web/firefox/actions.py index 08c6549e69..a30eccac15 100644 --- a/network/web/firefox/actions.py +++ b/network/web/firefox/actions.py @@ -21,6 +21,7 @@ ver = ".".join(get.srcVERSION().split(".")[:3]) jobs = jobs = "-j"+ subprocess.check_output("nproc 2>/dev/null", shell=True).rstrip("\n") shelltools.export("SHELL", "/bin/sh") +shelltools.export("PYTHON", "/usr/bin/python3") # shelltools.export("MACH_USE_SYSTEM_PYTHON", "1") shelltools.system("export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE='system'") shelltools.system("export MOZBUILD_STATE_PATH='mozbuild'") @@ -66,7 +67,7 @@ def build(): shelltools.system("LLVM_PROFDATA=llvm-profdata \ JARLOG_FILE='%s/jarlog' \ xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' \ - ./mach python build/pgo/profileserver.py" %get.curDIR()) + ./mach python3 build/pgo/profileserver.py" %get.curDIR()) shelltools.system("echo 'Removing instrumented browser...'") shelltools.system("./mach clobber")