From: Florian Klink <flokli@flokli.de>
To: barebox@lists.infradead.org
Cc: Florian Klink <flokli@flokli.de>
Subject: [PATCH v2 4/4] docs: use #!/usr/bin/env python shebang instead of #!/usr/bin/python
Date: Thu, 5 Dec 2019 22:45:50 +0100 [thread overview]
Message-ID: <20191205214550.21212-4-flokli@flokli.de> (raw)
In-Reply-To: <20191205214550.21212-1-flokli@flokli.de>
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.
---
Documentation/gen_commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/gen_commands.py b/Documentation/gen_commands.py
index 203a39bb1..a55b1acd8 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
--
2.24.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-12-05 21:46 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-27 23:19 use /usr/bin/env bash shebang instead of /bin/bash Florian Klink
2019-11-27 23:19 ` [PATCH 1/3] scripts: use #!/usr/bin/env bash shebang instead of #!/bin/bash Florian Klink
2019-12-03 6:46 ` Michael Olbrich
2019-12-03 8:45 ` Sascha Hauer
2019-12-03 9:12 ` Michael Olbrich
2019-12-05 21:45 ` [PATCH v2 1/4] " Florian Klink
2019-12-05 21:45 ` [PATCH v2 2/4] dts/scripts: " Florian Klink
2019-12-05 21:45 ` [PATCH v2 3/4] docs: " Florian Klink
2019-12-05 21:45 ` Florian Klink [this message]
2019-12-06 11:31 ` [PATCH v2 1/4] scripts: " Roland Hieber
2019-12-06 12:32 ` use #!/usr/bin/env binary instead of #!/usr/bin/binary Florian Klink
2019-12-06 12:32 ` [PATCH v3 1/4] scripts: use #!/usr/bin/env bash shebang instead of #!/bin/bash Florian Klink
2019-12-06 12:32 ` [PATCH v3 2/4] dts/scripts: " Florian Klink
2019-12-06 12:32 ` [PATCH v3 3/4] docs: " Florian Klink
2019-12-06 12:32 ` [PATCH v3 4/4] docs: use #!/usr/bin/env python shebang instead of #!/usr/bin/python Florian Klink
2019-12-06 14:25 ` use #!/usr/bin/env binary instead of #!/usr/bin/binary Sascha Hauer
2019-12-03 12:50 ` [PATCH 1/3] scripts: use #!/usr/bin/env bash shebang instead of #!/bin/bash Roland Hieber
2019-11-27 23:19 ` [PATCH 2/3] dts/scripts: " Florian Klink
2019-11-27 23:19 ` [PATCH 3/3] docs: " Florian Klink
2019-12-02 8:57 ` use /usr/bin/env bash shebang instead of /bin/bash Sascha Hauer
2019-12-02 14:29 ` Florian Klink
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191205214550.21212-4-flokli@flokli.de \
--to=flokli@flokli.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox