summaryrefslogtreecommitdiffstats
path: root/tools/cpplint.py
diff options
context:
space:
mode:
authorChirayu Desai <cdesai@cyanogenmod.org>2013-11-06 20:43:21 +0530
committerChirayu Desai <chirayudesai1@gmail.com>2013-11-28 13:49:31 +0000
commit2248c17cd3483c030571cc6163a0e0870da998c2 (patch)
treeb2e4ca7370c5d51791884676c4c9f9030b8b05f9 /tools/cpplint.py
parent00ce185371be9930dfd75e5acc2258a1139b558e (diff)
downloadandroid_art-2248c17cd3483c030571cc6163a0e0870da998c2.tar.gz
android_art-2248c17cd3483c030571cc6163a0e0870da998c2.tar.bz2
android_art-2248c17cd3483c030571cc6163a0e0870da998c2.zip
tools: use '/usr/bin/env python' instead of '/usr/bin/python'
* This is how it is done in other scripts in the AOSP tree, as '/usr/bin/python' may be python3 on some distros, which isn't supported yet. Change-Id: I0d9857fc6a122f505953fddcd6244dad75b1838a
Diffstat (limited to 'tools/cpplint.py')
-rwxr-xr-xtools/cpplint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cpplint.py b/tools/cpplint.py
index 30b5216b12..c2f6514c2b 100755
--- a/tools/cpplint.py
+++ b/tools/cpplint.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Copyright (c) 2009 Google Inc. All rights reserved.
#