Skip to content

Commit

Permalink
tools: binman: Use /usr/bin/env to find python executable
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
evadot authored and trini committed Jan 2, 2017
1 parent 208d14b commit 6d799d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/binman/binman.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

# Copyright (c) 2016 Google, Inc
# Written by Simon Glass <[email protected]>
Expand Down

0 comments on commit 6d799d0

Please sign in to comment.