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 168381 faafb9526e32b28f3b4647845442a3d3971183ec
parent 168376 f25299c7023df2548d65ec6571f7c83a2a6b91a5
child 168383 803536e9aac225d129d6ab431d74a3ab73e40f78
push idunknown
push userunknown
push dateunknown
reviewersglandium
bugs957721
milestone29.0a1
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