From: | Ulrich Mueller <ulm@g.o> | ||
---|---|---|---|
To: | "Michał Górny" <mgorny@g.o> | ||
Cc: | gentoo-portage-dev@l.g.o | ||
Subject: | Re: [gentoo-portage-dev] [PATCH] Use env to find python | ||
Date: | Wed, 17 Jun 2020 08:18:24 | ||
Message-Id: | u7dw6hzqz@gentoo.org | ||
In Reply to: | Re: [gentoo-portage-dev] [PATCH] Use env to find python by "Michał Górny" |
1 | >>>>> On Tue, 16 Jun 2020, Michał Górny wrote: |
2 | |
3 | > '/usr/bin/env python' (with no extra options) is the portable shebang. |
4 | |
5 | I still think this is a gross hack. You want your script to use the |
6 | correct interpreter (which is in /usr/bin, or the path substituted for |
7 | it at install time), not some random binary which happens to be found |
8 | in the user's ${PATH}. |
9 | |
10 | Ulrich |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-portage-dev] [PATCH] Use env to find python | "Michał Górny" <mgorny@g.o> |