]> granicus.if.org Git - clang/commitdiff
Use /usr/bin/env trick to find python. Patch by Krister Walfridsson.
authorEli Friedman <eli.friedman@gmail.com>
Fri, 10 Jul 2009 20:15:12 +0000 (20:15 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 10 Jul 2009 20:15:12 +0000 (20:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75271 91177308-0d34-0410-b5e6-96231b3b80d8

utils/ABITest/ABITestGen.py
utils/CaptureCmd
utils/CmpDriver
utils/FindSpecRefs
utils/SummarizeErrors
utils/test/MultiTestRunner.py
utils/test/ProgressBar.py
utils/test/TestRunner.py

index 5598caae3d9b7e2a89cd12ded878c5ab3950e317..63da02bcda9df5269f576b12a37bd6fe9fa8753f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 from pprint import pprint
 import random, atexit, time
index 3bce357e12e8593eb73cf33e24d4e32195a1b4e6..705585c3bb041fd14c3b0c446c7fe2a86748022a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 """CaptureCmd - A generic tool for capturing information about the
 invocations of another program.
index 97c91a8209156bee1b33507a162c7f864cf3aa25..bf0761fef3290cb6e93752f6772d0c9649893cef 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 import subprocess
 
index c74ca3d22883ec62773916feee10649b2d4dba44..9097f93f28d631ddc418ecbddb2af82285aa91a4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 import os
 import re
index 64d78240dd2fa0f284aa29d17e939b9d9277464a..b6e9122b74cfffed364dce52bd533b3875cdb941 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 import os, sys, re
 
index 6d0c14afad4023fc73dba27b38bbdf6d481cc670..9ad8a78f3d6c6b0289d22e56441b6e9698f0b945 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 """
 MultiTestRunner - Harness for running multiple tests in the simple clang style.
index 2e1f24ae79a1d1969a0b902eafa7cf4e57080aa3..13db7eccc91618b3482d1fa29cd9121f8cc44a79 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # Source: http://code.activestate.com/recipes/475116/, with
 # modifications by Daniel Dunbar.
index 9020622350dc8469faacc08832013f9e6fa4d9b1..77158fd971ccaa0ffcb055d2e98fbcf92b58682b 100755 (executable)
@@ -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