diff options
author | Stephen Crane <sjc@immunant.com> | 2017-08-31 15:08:26 -0700 |
---|---|---|
committer | Stephen Crane <sjc@immunant.com> | 2017-08-31 15:11:50 -0700 |
commit | 77bb564dc7b3f1771a116b52a3227a91b5235026 (patch) | |
tree | b1059f9d10339ef04e74d954d2e06edd238407b7 /libc/kernel/tools/cpp.py | |
parent | 7f9f1b6f918bec90354f70f2eb3dcf87d85df918 (diff) |
Use env to invoke python
/usr/bin/python may be python3. We should respect PATH to find the python
executable so it can be locally overridden to be python2.
Test: Build libc, repo upload
Change-Id: Iaddd7cd4a1c2177c32786e4fa0fc664ab0ad36de
Diffstat (limited to 'libc/kernel/tools/cpp.py')
-rw-r--r-- | libc/kernel/tools/cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/kernel/tools/cpp.py b/libc/kernel/tools/cpp.py index bca491bad..fff80f67e 100644 --- a/libc/kernel/tools/cpp.py +++ b/libc/kernel/tools/cpp.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python """A glorified C pre-processor parser.""" import ctypes |