Skip to contentSkip to conversation

tools: binman: change shebang from python into python2

PATCH In review Jörg Krause 2 participants 2 messages Mar 6, 2017 – Mar 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: binman: change shebang from python into python2

This tool does not work with Python 3. Change the shebang to make sure the script is run by a Python 2 interpreter.

---
 tools/binman/binman.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/binman/binman.py +1 -1
index e1cb2fbb6f..857d698b4c 100755
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2016 Google, Inc
 # Written by Simon Glass <[email protected]>
Signature · 1 line
2.12.0
#1 lore raw
Quoted 4 lines · Jörg Krause

This tool does not work with Python 3. Change the shebang to make sure the script is run by a Python 2 interpreter.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170311/a2542a32/attachment.sig>