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/tools/genversion-scripts.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/tools/genversion-scripts.py')
-rwxr-xr-x | libc/tools/genversion-scripts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/tools/genversion-scripts.py b/libc/tools/genversion-scripts.py index 0a98994f1..5410580b8 100755 --- a/libc/tools/genversion-scripts.py +++ b/libc/tools/genversion-scripts.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # This tool is used to generate the version scripts for libc and libm # for every architecture. |