summaryrefslogtreecommitdiffstats
path: root/core/checktree
diff options
context:
space:
mode:
authorAndrew Bartholomew <andrewb03@gmail.com>2014-05-10 10:58:07 -0400
committerAdnan Begovic <adnan@cyngn.com>2015-10-06 16:32:42 -0700
commit2639c5043ed6749e207fe3f51969db7a43cdfff7 (patch)
tree7703449ef1ea75e987b9f944b2196887282beba5 /core/checktree
parent2370b42aa540719e562985e4c603d3ed7bce5e62 (diff)
downloadbuild-2639c5043ed6749e207fe3f51969db7a43cdfff7.zip
build-2639c5043ed6749e207fe3f51969db7a43cdfff7.tar.gz
build-2639c5043ed6749e207fe3f51969db7a43cdfff7.tar.bz2
build: use /usr/bin/env to call python
Hardcoding the path to python instead of env is not recommended. This can break the build in some Linux environments that link /usr/bin/python to python3. Change-Id: I4c62eb391acc6d468ce24ac8640834e965e76e78
Diffstat (limited to 'core/checktree')
-rwxr-xr-xcore/checktree2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/checktree b/core/checktree
index b0b9cfa..2872683 100755
--- a/core/checktree
+++ b/core/checktree
@@ -1,4 +1,4 @@
-#!/usr/bin/python -E
+#!/usr/bin/env python -E
import sys, os, re