From 6e6e601da1cd63c2e797a4b185f5ebc77496e1dc 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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@238428 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/sanitizer_common/scripts/cpplint.py | 2 +- lib/sanitizer_common/scripts/litlint.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sanitizer_common/scripts') diff --git a/lib/sanitizer_common/scripts/cpplint.py b/lib/sanitizer_common/scripts/cpplint.py index 742459af1..d45c47f7e 100755 --- a/lib/sanitizer_common/scripts/cpplint.py +++ b/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/lib/sanitizer_common/scripts/litlint.py b/lib/sanitizer_common/scripts/litlint.py index 1e78448b6..81b89c214 100755 --- a/lib/sanitizer_common/scripts/litlint.py +++ b/lib/sanitizer_common/scripts/litlint.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # litlint # -- cgit v1.2.3