diff options
author | Valentin Kuznetsov <vkuznet@gmail.com> | 2016-01-11 13:46:16 -0500 |
---|---|---|
committer | Ramon Fernandez <ramon@mongodb.com> | 2016-01-15 17:03:22 -0500 |
commit | 5492a19aaf5fb02856cfe7d711c249472f84ccfc (patch) | |
tree | eeda03de398790e33391e7e1286d31ec1186807d | |
parent | 920d38ceb07bff0ec18e2f173d942c3b743dea4b (diff) | |
download | mongo-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-x | buildscripts/clang_format.py | 2 | ||||
-rwxr-xr-x | buildscripts/cpplint.py | 2 | ||||
-rwxr-xr-x | buildscripts/hang_analyzer.py | 2 | ||||
-rwxr-xr-x | buildscripts/make_archive.py | 2 | ||||
-rwxr-xr-x | buildscripts/packager-enterprise.py | 2 | ||||
-rwxr-xr-x | buildscripts/packager.py | 2 | ||||
-rw-r--r-- | buildscripts/setup_multiversion_mongodb.py | 2 | ||||
-rw-r--r-- | src/mongo/base/generate_error_codes.py | 2 | ||||
-rwxr-xr-x | src/mongo/db/auth/generate_action_types.py | 2 | ||||
-rwxr-xr-x | src/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/analyze.py | 2 | ||||
-rwxr-xr-x | src/third_party/mozjs-38/extract/js/src/devtools/rootAnalysis/explain.py | 2 | ||||
-rwxr-xr-x | src/third_party/mozjs-38/extract/js/src/vm/make_opcode_doc.py | 2 | ||||
-rwxr-xr-x | src/third_party/s2/pywraps2_test.py | 2 |
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. |