[U-Boot] [PATCH] tools: binman: Use /usr/bin/env to find python executable
Emmanuel Vadot
manu at bidouilliste.com
Tue Dec 27 22:36:08 CET 2016
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 at bidouilliste.com>
---
tools/binman/binman.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/binman/binman.py b/tools/binman/binman.py
index 7fb67cb25f..4cc431fbbe 100755
--- 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 at chromium.org>
--
2.11.0
More information about the U-Boot
mailing list