summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-12-06 13:32:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-06 15:25:20 +0100
commit06fa766313fd122fc9f5ea7d26af9edd37daed78 (patch)
tree9857997765ff1ec91c692ff9d01cdd74a7b361b6
parent8a750efed0399f36679cddd3718841ff293711b6 (diff)
downloadbarebox-06fa766313fd122fc9f5ea7d26af9edd37daed78.tar.gz
barebox-06fa766313fd122fc9f5ea7d26af9edd37daed78.tar.xz
docs: use #!/usr/bin/env python shebang instead of #!/usr/bin/python
Some distributions might not have python in /usr/bin, but in $PATH. Using #!/usr/bin/env python solves this, and is consistent with how the other perl and python shebangs look like in the tree. Signed-off-by: Florian Klink <flokli@flokli.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rwxr-xr-xDocumentation/gen_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/gen_commands.py b/Documentation/gen_commands.py
index 203a39bb11..a55b1acd82 100755
--- a/Documentation/gen_commands.py
+++ b/Documentation/gen_commands.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
from __future__ import print_function