diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-07-10 20:15:12 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-07-10 20:15:12 +0000 |
commit | 77a1fe945b3d0f1efa22e9d36a8ea7e272dd93c2 (patch) | |
tree | bdd90184d93a842e843fd54d4cbaaeb779b60c80 | |
parent | 40c072f44ff081293f79909ecc518af23938108e (diff) |
Use /usr/bin/env trick to find python. Patch by Krister Walfridsson.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75271 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/ABITest/ABITestGen.py | 2 | ||||
-rwxr-xr-x | utils/CaptureCmd | 2 | ||||
-rwxr-xr-x | utils/CmpDriver | 2 | ||||
-rwxr-xr-x | utils/FindSpecRefs | 2 | ||||
-rwxr-xr-x | utils/SummarizeErrors | 2 | ||||
-rwxr-xr-x | utils/test/MultiTestRunner.py | 2 | ||||
-rw-r--r-- | utils/test/ProgressBar.py | 2 | ||||
-rwxr-xr-x | utils/test/TestRunner.py | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/utils/ABITest/ABITestGen.py b/utils/ABITest/ABITestGen.py index 5598caae3d..63da02bcda 100755 --- a/utils/ABITest/ABITestGen.py +++ b/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/utils/CaptureCmd b/utils/CaptureCmd index 3bce357e12..705585c3bb 100755 --- a/utils/CaptureCmd +++ b/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/utils/CmpDriver b/utils/CmpDriver index 97c91a8209..bf0761fef3 100755 --- a/utils/CmpDriver +++ b/utils/CmpDriver @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import subprocess diff --git a/utils/FindSpecRefs b/utils/FindSpecRefs index c74ca3d228..9097f93f28 100755 --- a/utils/FindSpecRefs +++ b/utils/FindSpecRefs @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os import re diff --git a/utils/SummarizeErrors b/utils/SummarizeErrors index 64d78240dd..b6e9122b74 100755 --- a/utils/SummarizeErrors +++ b/utils/SummarizeErrors @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os, sys, re diff --git a/utils/test/MultiTestRunner.py b/utils/test/MultiTestRunner.py index 6d0c14afad..9ad8a78f3d 100755 --- a/utils/test/MultiTestRunner.py +++ b/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/utils/test/ProgressBar.py b/utils/test/ProgressBar.py index 2e1f24ae79..13db7eccc9 100644 --- a/utils/test/ProgressBar.py +++ b/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/utils/test/TestRunner.py b/utils/test/TestRunner.py index 9020622350..77158fd971 100755 --- a/utils/test/TestRunner.py +++ b/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 |