Skip to content

Commit

Permalink
Backed out changeset 7f64f5d3df09 for build bustage
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Jan 13, 2023
1 parent 4f44387 commit a41f7a7
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion automation/release/nss-release-helper.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/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, You can obtain one at http://mozilla.org/MPL/2.0/.
Expand Down
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ while [ $# -gt 0 ]; do
--disable-keylog) sslkeylogfile=0 ;;
--enable-legacy-db) gyp_params+=(-Ddisable_dbm=0) ;;
--mozilla-central) gyp_params+=(-Dmozilla_central=1) ;;
--python) python="$2"; shift ;;
--python=*) python="${1#*=}" ;;
--python) python="$2"; shift ;;
--python=*) python="${1#*=}" ;;
-D*) gyp_params+=("$1") ;;
*) show_help; exit 2 ;;
esac
Expand All @@ -143,7 +143,7 @@ fi

if [ -z "$target_arch" ]; then
# Assume that the target architecture is the same as the host by default.
host_arch=$(${python:-python3} "$cwd/coreconf/detect_host_arch.py")
host_arch=$(${python:-python} "$cwd/coreconf/detect_host_arch.py")
target_arch=$host_arch
fi

Expand Down
3 changes: 2 additions & 1 deletion coreconf/check_cc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python

import os
import subprocess
Expand All @@ -24,3 +24,4 @@ def main():

if __name__ == '__main__':
main()

2 changes: 1 addition & 1 deletion coreconf/config.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion coreconf/detect_host_arch.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion coreconf/sanitizers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python2

from __future__ import print_function
import sys
Expand Down
2 changes: 1 addition & 1 deletion coreconf/shlibsign.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion coreconf/werror.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python

import os
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion mach
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit a41f7a7

Please sign in to comment.