Re: [PATCH] Use env to find python
Ulrich Mueller <[email protected]>
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Tue, 16 Jun 2020, Michał Górny wrote:
> '/usr/bin/env python' (with no extra options) is the portable shebang.
I still think this is a gross hack. You want your script to use the
correct interpreter (which is in /usr/bin, or the path substituted for
it at install time), not some random binary which happens to be found
in the user's ${PATH}.
Ulrich
signature.asc
(application/pgp-signature, 507 B)
-----BEGIN PGP SIGNATURE----- iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAl7p0cQPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4u2FcIAMIGVRltbiMnr2UcDpvEFMRxtJs0uF3iTo35 DNidXqCf11p9LH39p/A3qNT05dZuzvvB1jVaeAsBOhjbmJEKPIBogp9tlZOfaKNH VdgZOjz38OgzpsaFif4vI7xdv9ce13uNSKSFE8if2GU8qgWmMPfRwF2n7BFzmhTE FSqKpIpXzfZR6MWPZepTM44oD0niONyC2qGxFf7ReWiDXqEpCeuPkeioHRhDSdz0 GbZCrcMLulFKk4kNeTsE5Nvo+t5ELYnK9l680DsulPLkjRcbvT2K6pMVpEmgXvEU RcUl2ONlbyupTvWata+00Eut9GUSYdpcfJrURGoOCtEa0wkn6KY= =EFxS -----END PGP SIGNATURE-----