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 190970 3c72c5ea486c94436fad7e206344a11b8bb3453d
parent 190969 586ec2ee45d7451defc2dde155a43c56690f2d81
child 190971 c7f8bfece444a161d9bc6cf05858e2aebafad784
push idunknown
push userunknown
push dateunknown
reviewersglandium
bugs957721
milestone32.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.
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