diff options
| author | Ed Maste <emaste@freebsd.org> | 2015-05-28 14:53:14 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2015-05-28 14:53:14 +0000 |
| commit | 3fa1b65c1c41553dc0b32a80e5d4b63af1495563 (patch) | |
| tree | ea366e394b317356911dad3f8c3ec9af1d0257bb /compiler-rt/lib/sanitizer_common/scripts | |
| parent | 398553032895dedd394e1ca93b9ed42695772984 (diff) | |
| download | bcm5719-llvm-3fa1b65c1c41553dc0b32a80e5d4b63af1495563.tar.gz bcm5719-llvm-3fa1b65c1c41553dc0b32a80e5d4b63af1495563.zip | |
Use /usr/bin/env to find python
Python may not be /usr/bin/python on some systems. For example, on
FreeBSD it will be /usr/local/bin/python.
Reviewers: samsonov
Differential Revision: http://reviews.llvm.org/D9914
llvm-svn: 238428
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/scripts')
| -rwxr-xr-x | compiler-rt/lib/sanitizer_common/scripts/cpplint.py | 2 | ||||
| -rwxr-xr-x | compiler-rt/lib/sanitizer_common/scripts/litlint.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/scripts/cpplint.py b/compiler-rt/lib/sanitizer_common/scripts/cpplint.py index 742459af172..d45c47f7ed0 100755 --- a/compiler-rt/lib/sanitizer_common/scripts/cpplint.py +++ b/compiler-rt/lib/sanitizer_common/scripts/cpplint.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright (c) 2009 Google Inc. All rights reserved. # diff --git a/compiler-rt/lib/sanitizer_common/scripts/litlint.py b/compiler-rt/lib/sanitizer_common/scripts/litlint.py index 1e78448b63d..81b89c21443 100755 --- a/compiler-rt/lib/sanitizer_common/scripts/litlint.py +++ b/compiler-rt/lib/sanitizer_common/scripts/litlint.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # litlint # |

