From a9974d3eb4d2bd0241f8c24d2d8fcc2282d69af9 Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Sat, 14 Jan 2023 09:31:27 +1100 Subject: Backed out changeset 7f64f5d3df09 for build bustage --- coreconf/check_cc.py | 3 ++- coreconf/config.gypi | 2 +- coreconf/detect_host_arch.py | 2 +- coreconf/sanitizers.py | 2 +- coreconf/shlibsign.py | 2 +- coreconf/werror.py | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) (limited to 'coreconf') diff --git a/coreconf/check_cc.py b/coreconf/check_cc.py index 25abafe8a..d0736af7d 100644 --- a/coreconf/check_cc.py +++ b/coreconf/check_cc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import os import subprocess @@ -24,3 +24,4 @@ def main(): if __name__ == '__main__': main() + diff --git a/coreconf/config.gypi b/coreconf/config.gypi index b6aa93913..85c8d36db 100644 --- a/coreconf/config.gypi +++ b/coreconf/config.gypi @@ -7,7 +7,7 @@ 'variables': { 'variables': { 'variables': { - 'python%': 'python3', + 'python%': 'python', }, # chromium uses pymod_do_main, but gyp doesn't set a sensible # Python sys.path (gyp_chromium does). diff --git a/coreconf/detect_host_arch.py b/coreconf/detect_host_arch.py index afaeb3eb5..69fd960f6 100644 --- a/coreconf/detect_host_arch.py +++ b/coreconf/detect_host_arch.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, diff --git a/coreconf/sanitizers.py b/coreconf/sanitizers.py index bceb45b12..a166715e2 100644 --- a/coreconf/sanitizers.py +++ b/coreconf/sanitizers.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python2 from __future__ import print_function import sys diff --git a/coreconf/shlibsign.py b/coreconf/shlibsign.py index 9fc16c5a6..dc40a8c89 100644 --- a/coreconf/shlibsign.py +++ b/coreconf/shlibsign.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python2 # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/coreconf/werror.py b/coreconf/werror.py index fb1253a26..0e2d41c63 100644 --- a/coreconf/werror.py +++ b/coreconf/werror.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import os import subprocess -- cgit v1.2.1