diff options
author | Andrew Bartholomew <andrewb03@gmail.com> | 2014-05-10 10:58:07 -0400 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 16:32:42 -0700 |
commit | 2639c5043ed6749e207fe3f51969db7a43cdfff7 (patch) | |
tree | 7703449ef1ea75e987b9f944b2196887282beba5 | |
parent | 2370b42aa540719e562985e4c603d3ed7bce5e62 (diff) | |
download | build-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
-rwxr-xr-x | core/checktree | 2 | ||||
-rwxr-xr-x | tools/getb64key.py | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/tools/getb64key.py b/tools/getb64key.py index 0bb63e1..a0cd1c3 100755 --- a/tools/getb64key.py +++ b/tools/getb64key.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import base64 import sys |