tools: binman: Use /usr/bin/env to find python executable

Some OS (all BSD and probably others) do not have python in /usr/bin
but in another directory.
It is a common usage to use /usr/bin/env python as shebang for python
scripts so use this for binman.

Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com>
This commit is contained in:
Emmanuel Vadot 2016-12-27 22:36:08 +01:00 committed by Tom Rini
parent 208d14bacd
commit 6d799d04a8
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# Copyright (c) 2016 Google, Inc
# Written by Simon Glass <sjg@chromium.org>