From: Emmanuel Vadot Date: Tue, 27 Dec 2016 21:36:08 +0000 (+0100) Subject: tools: binman: Use /usr/bin/env to find python executable X-Git-Tag: v2017.01-rc3~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6d799d04a843b85b0842b7c266a16b3c515b8c35;p=oweals%2Fu-boot.git 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 --- 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