summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-07-10 20:15:12 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-07-10 20:15:12 +0000
commit837f574ee977b83381cb35715232f3ea3a22ca53 (patch)
tree496726b1d4f4364a63319a0496a28c1b1e007101 /clang
parent3554b5a37c79551fc48f7322a95b817781ca6f1b (diff)
downloadbcm5719-llvm-837f574ee977b83381cb35715232f3ea3a22ca53.tar.gz
bcm5719-llvm-837f574ee977b83381cb35715232f3ea3a22ca53.zip
Use /usr/bin/env trick to find python. Patch by Krister Walfridsson.
llvm-svn: 75271
Diffstat (limited to 'clang')
-rwxr-xr-xclang/utils/ABITest/ABITestGen.py2
-rwxr-xr-xclang/utils/CaptureCmd2
-rwxr-xr-xclang/utils/CmpDriver2
-rwxr-xr-xclang/utils/FindSpecRefs2
-rwxr-xr-xclang/utils/SummarizeErrors2
-rwxr-xr-xclang/utils/test/MultiTestRunner.py2
-rw-r--r--clang/utils/test/ProgressBar.py2
-rwxr-xr-xclang/utils/test/TestRunner.py2
8 files changed, 8 insertions, 8 deletions
diff --git a/clang/utils/ABITest/ABITestGen.py b/clang/utils/ABITest/ABITestGen.py
index 5598caae3d9..63da02bcda9 100755
--- a/clang/utils/ABITest/ABITestGen.py
+++ b/clang/utils/ABITest/ABITestGen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
from pprint import pprint
import random, atexit, time
diff --git a/clang/utils/CaptureCmd b/clang/utils/CaptureCmd
index 3bce357e12e..705585c3bb0 100755
--- a/clang/utils/CaptureCmd
+++ b/clang/utils/CaptureCmd
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""CaptureCmd - A generic tool for capturing information about the
invocations of another program.
diff --git a/clang/utils/CmpDriver b/clang/utils/CmpDriver
index 97c91a82091..bf0761fef32 100755
--- a/clang/utils/CmpDriver
+++ b/clang/utils/CmpDriver
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import subprocess
diff --git a/clang/utils/FindSpecRefs b/clang/utils/FindSpecRefs
index c74ca3d2288..9097f93f28d 100755
--- a/clang/utils/FindSpecRefs
+++ b/clang/utils/FindSpecRefs
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import os
import re
diff --git a/clang/utils/SummarizeErrors b/clang/utils/SummarizeErrors
index 64d78240dd2..b6e9122b74c 100755
--- a/clang/utils/SummarizeErrors
+++ b/clang/utils/SummarizeErrors
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import os, sys, re
diff --git a/clang/utils/test/MultiTestRunner.py b/clang/utils/test/MultiTestRunner.py
index 6d0c14afad4..9ad8a78f3d6 100755
--- a/clang/utils/test/MultiTestRunner.py
+++ b/clang/utils/test/MultiTestRunner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
"""
MultiTestRunner - Harness for running multiple tests in the simple clang style.
diff --git a/clang/utils/test/ProgressBar.py b/clang/utils/test/ProgressBar.py
index 2e1f24ae79a..13db7eccc91 100644
--- a/clang/utils/test/ProgressBar.py
+++ b/clang/utils/test/ProgressBar.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Source: http://code.activestate.com/recipes/475116/, with
# modifications by Daniel Dunbar.
diff --git a/clang/utils/test/TestRunner.py b/clang/utils/test/TestRunner.py
index 9020622350d..77158fd971c 100755
--- a/clang/utils/test/TestRunner.py
+++ b/clang/utils/test/TestRunner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# TestRunner.py - This script is used to run arbitrary unit tests. Unit
# tests must contain the command used to run them in the input file, starting
OpenPOWER on IntegriCloud