projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
208d14b
)
tools: binman: Use /usr/bin/env to find python executable
author
Emmanuel Vadot
<manu@bidouilliste.com>
Tue, 27 Dec 2016 21:36:08 +0000
(22:36 +0100)
committer
Tom Rini
<trini@konsulko.com>
Mon, 2 Jan 2017 16:14:04 +0000
(11:14 -0500)
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>
tools/binman/binman.py
patch
|
blob
|
history
diff --git
a/tools/binman/binman.py
b/tools/binman/binman.py
index 7fb67cb25f9c65dc58f7441ecb5a365bfef88d50..4cc431fbbe5f51a340d663948ce2c84441f9ae14 100755
(executable)
--- a/
tools/binman/binman.py
+++ b/
tools/binman/binman.py
@@
-1,4
+1,4
@@
-#!/usr/bin/python
+#!/usr/bin/
env
python
# Copyright (c) 2016 Google, Inc
# Written by Simon Glass <sjg@chromium.org>