From 3fa1b65c1c41553dc0b32a80e5d4b63af1495563 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 28 May 2015 14:53:14 +0000 Subject: 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 --- compiler-rt/lib/sanitizer_common/scripts/cpplint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler-rt/lib/sanitizer_common/scripts/cpplint.py') 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. # -- cgit v1.2.3