瀏覽代碼

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
Eli Friedman 16 年之前
父節點
當前提交
77a1fe945b

+ 1 - 1
utils/ABITest/ABITestGen.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 from pprint import pprint
 import random, atexit, time

+ 1 - 1
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.

+ 1 - 1
utils/CmpDriver

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 import subprocess
 

+ 1 - 1
utils/FindSpecRefs

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 import os
 import re

+ 1 - 1
utils/SummarizeErrors

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 import os, sys, re
 

+ 1 - 1
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.

+ 1 - 1
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.

+ 1 - 1
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