[PATCH] Support python in other than /usr/bin/python

Ed Maste emaste at freebsd.org
Wed May 27 11:41:32 PDT 2015


Just use `/usr/bin/env python` instead


http://reviews.llvm.org/D9914

Files:
  lib/sanitizer_common/scripts/cpplint.py
  lib/sanitizer_common/scripts/litlint.py

Index: lib/sanitizer_common/scripts/cpplint.py
===================================================================
--- lib/sanitizer_common/scripts/cpplint.py
+++ 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.
 #
Index: lib/sanitizer_common/scripts/litlint.py
===================================================================
--- lib/sanitizer_common/scripts/litlint.py
+++ lib/sanitizer_common/scripts/litlint.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # litlint
 #

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9914.26622.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150527/17108076/attachment.bin>


More information about the llvm-commits mailing list