Bug 957721 - Switch mach's shebang to look for python2.7; r=glandium
authorGregory Szorc <gps@mozilla.com>
Wed, 08 Jan 2014 11:19:21 -0800
changeset 162964 faafb9526e32b28f3b4647845442a3d3971183ec
parent 162963 f25299c7023df2548d65ec6571f7c83a2a6b91a5
child 162965 803536e9aac225d129d6ab431d74a3ab73e40f78
push id25975
push userryanvm@gmail.com
push dateFri, 10 Jan 2014 19:46:47 +0000
treeherderautoland@e89afc241513 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs957721
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 957721 - Switch mach's shebang to look for python2.7; r=glandium OpenBSD doesn't have "python" on $PATH by default. "python" may also come from a non-2.7 Python. Switching the shebang will help ensure the user invokes mach with Python 2.7. There is a risk this may break mach for some people. If the masses complain, we may roll back.
mach
--- a/mach
+++ b/mach
@@ -1,9 +1,9 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
 # 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/.
 
 from __future__ import print_function, unicode_literals
 
 import os
 import sys