summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Kuznetsov <vkuznet@gmail.com>2016-01-11 13:46:16 -0500
committerRamon Fernandez <ramon@mongodb.com>2016-01-15 17:03:22 -0500
commit5492a19aaf5fb02856cfe7d711c249472f84ccfc (patch)
treeeeda03de398790e33391e7e1286d31ec1186807d
parent920d38ceb07bff0ec18e2f173d942c3b743dea4b (diff)
downloadmongo-5492a19aaf5fb02856cfe7d711c249472f84ccfc.tar.gz
SERVER-22135 Take python from environment rather system default path
Signed-off-by: Ramon Fernandez <ramon@mongodb.com> Closes #1056
-rwxr-xr-xbuildscripts/clang_format.py2
-rwxr-xr-xbuildscripts/cpplint.py2
-rwxr-xr-xbuildscripts/hang_analyzer.py2
-rwxr-xr-xbuildscripts/make_archive.py2
-rwxr-xr-xbuildscripts/packager-enterprise.py2
-rwxr-xr-xbuildscripts/packager.py2
-rw-r--r--buildscripts/setup_multiversion_mongodb.py2
-rw-r--r--src/mongo/base/generate_error_codes.py2
-rwxr-xr-xsrc/mongo/db/auth/generate_action_types.py2
-rwxr-xr-xsrc/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/analyze.py2
-rwxr-xr-xsrc/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/explain.py2
-rwxr-xr-xsrc/third_party/mozjs-38/extract/js/src/vm/make_opcode_doc.py2
-rwxr-xr-xsrc/third_party/s2/pywraps2_test.py2
13 files changed, 13 insertions, 13 deletions
diff --git a/buildscripts/clang_format.py b/buildscripts/clang_format.py
index d6b86002769..b8a1f963719 100755
--- a/buildscripts/clang_format.py
+++ b/buildscripts/clang_format.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python
"""
A script that provides:
1. Ability to grab binaries where possible from LLVM.
diff --git a/buildscripts/cpplint.py b/buildscripts/cpplint.py
index be4c7d0de68..50ff75f9432 100755
--- a/buildscripts/cpplint.py
+++ b/buildscripts/cpplint.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Copyright (c) 2009 Google Inc. All rights reserved.
#
diff --git a/buildscripts/hang_analyzer.py b/buildscripts/hang_analyzer.py
index bcdf34ea411..a2c0aa32e04 100755
--- a/buildscripts/hang_analyzer.py
+++ b/buildscripts/hang_analyzer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python -u
+#!/usr/bin/env python
"""Hang Analyzer
diff --git a/buildscripts/make_archive.py b/buildscripts/make_archive.py
index eabd6f28a07..2671fa530dd 100755
--- a/buildscripts/make_archive.py
+++ b/buildscripts/make_archive.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
'''Helper script for constructing an archive (zip or tar) from a list of files.
diff --git a/buildscripts/packager-enterprise.py b/buildscripts/packager-enterprise.py
index fa0e538334c..e1935f10de3 100755
--- a/buildscripts/packager-enterprise.py
+++ b/buildscripts/packager-enterprise.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# This program makes Debian and RPM repositories for MongoDB, by
# downloading our tarballs of statically linked executables and
diff --git a/buildscripts/packager.py b/buildscripts/packager.py
index 27e55f5b8e7..4fe22aa535e 100755
--- a/buildscripts/packager.py
+++ b/buildscripts/packager.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# This program makes Debian and RPM repositories for MongoDB, by
# downloading our tarballs of statically linked executables and
diff --git a/buildscripts/setup_multiversion_mongodb.py b/buildscripts/setup_multiversion_mongodb.py
index 719d41b9cdf..a1a3023cf3b 100644
--- a/buildscripts/setup_multiversion_mongodb.py
+++ b/buildscripts/setup_multiversion_mongodb.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import re
import sys
diff --git a/src/mongo/base/generate_error_codes.py b/src/mongo/base/generate_error_codes.py
index 6fa0300afbc..df5515c0a5c 100644
--- a/src/mongo/base/generate_error_codes.py
+++ b/src/mongo/base/generate_error_codes.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2012 10gen Inc.
#
diff --git a/src/mongo/db/auth/generate_action_types.py b/src/mongo/db/auth/generate_action_types.py
index 5de15276a27..6d14b0b583d 100755
--- a/src/mongo/db/auth/generate_action_types.py
+++ b/src/mongo/db/auth/generate_action_types.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright 2012 10gen Inc.
#
diff --git a/src/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/analyze.py b/src/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/analyze.py
index e4de4f1c4f9..318ad300daa 100755
--- a/src/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/analyze.py
+++ b/src/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/analyze.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# This Source Code Form is subject to the terms of the Mozilla Public
diff --git a/src/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/explain.py b/src/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/explain.py
index ec7ef1949b1..2ce7ba6b2ac 100755
--- a/src/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/explain.py
+++ b/src/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/explain.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import re
import argparse
diff --git a/src/third_party/mozjs-38/extract/js/src/vm/make_opcode_doc.py b/src/third_party/mozjs-38/extract/js/src/vm/make_opcode_doc.py
index 6c2647e60c5..2a1d1145782 100755
--- a/src/third_party/mozjs-38/extract/js/src/vm/make_opcode_doc.py
+++ b/src/third_party/mozjs-38/extract/js/src/vm/make_opcode_doc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -B
+#!/usr/bin/env python
""" Usage: make_opcode_doc.py PATH_TO_MOZILLA_CENTRAL
diff --git a/src/third_party/s2/pywraps2_test.py b/src/third_party/s2/pywraps2_test.py
index 5cd5e2e3f27..65198a3b8d7 100755
--- a/src/third_party/s2/pywraps2_test.py
+++ b/src/third_party/s2/pywraps2_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.4
+#!/usr/bin/env python
# Copyright 2006 Google Inc. All Rights Reserved.