summaryrefslogtreecommitdiff
path: root/libc/tools/genversion-scripts.py
diff options
context:
space:
mode:
authorStephen Crane <sjc@immunant.com>2017-08-31 15:08:26 -0700
committerStephen Crane <sjc@immunant.com>2017-08-31 15:11:50 -0700
commit77bb564dc7b3f1771a116b52a3227a91b5235026 (patch)
treeb1059f9d10339ef04e74d954d2e06edd238407b7 /libc/tools/genversion-scripts.py
parent7f9f1b6f918bec90354f70f2eb3dcf87d85df918 (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-xlibc/tools/genversion-scripts.py2
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.