Re: usage of /bin/bash in shebangs
Fabian Groffen <[email protected]> Mon, 25 Jul 2022 17:19:22 +0200
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Organization | Gentoo Foundation, Inc. |
| Message-ID | <[email protected]> |
--ipFm/iTNyyqGp8Ha Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 25-07-2022 08:09:02 -0700, Zac Medico wrote: > On 7/24/22 23:17, Fabian Groffen wrote: > > On 24-07-2022 13:58:31 -0700, Zac Medico wrote: > >> On 7/24/22 12:29, Fabian Groffen wrote: > >>> Hi, > >>> > >>> Quick question, I noticed that portage uses /bin/bash hardcoded in > >>> shebang of scripts, while it uses /usr/bin/env python for python > >>> executable files. > >>> > >>> Is there anything against using /usr/bin/env bash for shell scripts? > >>> Changing this would help for Prefix. > >> > >> > >> I can't think of any reason not to do this. > >=20 > > Do you want to see a patch, or is it OK to push this myself? >=20 > It's OK to just push this yourself. Thanks! Pushed, thanks, b716e3591 --=20 Fabian Groffen Gentoo on a different level --ipFm/iTNyyqGp8Ha Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEELUvHd/Gtp7LaU1vuzpXahU5EQpMFAmLetHoACgkQzpXahU5E QpM2NggAiakNQVyMW7+Pjg8xF44HnKHG4HZ1TDBwW3oEdfBfIsj/MbXvzww6oyWS fbg4LMdOdXtzmN+n/9h7CXXbqvqjV/STu0Ox/z6r6NofNRua12zKz5g7n2pl+7rm 4g8A2Kbbfrbofl/TXdjCX13pUOmO1JBKfnvNwrtpe5gbTBOscQ2dQfTYC/bUIA9f jXZ4kNMz5y2bmHu5Ur+9et4xawPv2G0HS8GToV1E0Ol9jD3YCTV2AKAZP8PVTZat UKt1Z1wfKuuS8Ie17rt+dqV2azvBdhMuDUq6uDAJF8///WrjpRmXRhJM1W+fV7lQ znos0ow3bpjZnGl+jxml4xW5eG0qRA== =Nq2c -----END PGP SIGNATURE----- --ipFm/iTNyyqGp8Ha--