summaryrefslogtreecommitdiff
path: root/coreconf
diff options
context:
space:
mode:
authorMartin Thomson <mt@lowentropy.net>2023-01-14 09:31:27 +1100
committerMartin Thomson <mt@lowentropy.net>2023-01-14 09:31:27 +1100
commita9974d3eb4d2bd0241f8c24d2d8fcc2282d69af9 (patch)
treecc98e9db3c418bb67cca6b7e6a1c5e0401050859 /coreconf
parent1273a14ef826e250ba8ae75f76fd5eeceac6e64e (diff)
downloadnss-hg-a9974d3eb4d2bd0241f8c24d2d8fcc2282d69af9.tar.gz
Backed out changeset 7f64f5d3df09 for build bustage
Diffstat (limited to 'coreconf')
-rw-r--r--coreconf/check_cc.py3
-rw-r--r--coreconf/config.gypi2
-rw-r--r--coreconf/detect_host_arch.py2
-rw-r--r--coreconf/sanitizers.py2
-rw-r--r--coreconf/shlibsign.py2
-rw-r--r--coreconf/werror.py2
6 files changed, 7 insertions, 6 deletions
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