summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/scripts/cpplint.py
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2015-05-28 14:53:14 +0000
committerEd Maste <emaste@freebsd.org>2015-05-28 14:53:14 +0000
commit3fa1b65c1c41553dc0b32a80e5d4b63af1495563 (patch)
treeea366e394b317356911dad3f8c3ec9af1d0257bb /compiler-rt/lib/sanitizer_common/scripts/cpplint.py
parent398553032895dedd394e1ca93b9ed42695772984 (diff)
downloadbcm5719-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/cpplint.py')
-rwxr-xr-xcompiler-rt/lib/sanitizer_common/scripts/cpplint.py2
1 files changed, 1 insertions, 1 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.
#
OpenPOWER on IntegriCloud