[U-Boot] [PATCH] binman: Explicitly request python2 instead of python from env
Paul Kocialkowski
contact at paulk.fr
Mon Feb 20 18:41:34 UTC 2017
We now live in a world where python cannot be assumed to be python2.
As a matter of fact, it is no longer the default for python on many
GNU/Linux distributions.
Running binman with python3 fails, so explicitly request python2 from
env in the shebang for running it.
Signed-off-by: Paul Kocialkowski <contact at paulk.fr>
---
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 4cc431fbbe..25a01d9adb 100755
--- a/tools/binman/binman.py
+++ b/tools/binman/binman.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# Copyright (c) 2016 Google, Inc
# Written by Simon Glass <sjg at chromium.org>
--
2.11.1
More information about the U-Boot
mailing list