Ver Fonte

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 há 16 anos atrás
pai
commit
77a1fe945b

+ 1 - 1
utils/ABITest/ABITestGen.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 
 from pprint import pprint
 from pprint import pprint
 import random, atexit, time
 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
 """CaptureCmd - A generic tool for capturing information about the
 invocations of another program.
 invocations of another program.

+ 1 - 1
utils/CmpDriver

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

+ 1 - 1
utils/FindSpecRefs

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

+ 1 - 1
utils/SummarizeErrors

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 
 import os, sys, re
 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.
 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
 # Source: http://code.activestate.com/recipes/475116/, with
 # modifications by Daniel Dunbar.
 # 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
 #  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
 #  tests must contain the command used to run them in the input file, starting