Re: usage of /bin/bash in shebangs

Fabian Groffen <[email protected]> Mon, 25 Jul 2022 08:17:46 +0200
Newsgroups gmane.linux.gentoo.portage.devel
Organization Gentoo Foundation, Inc.
Message-ID <[email protected]>
--J8CzYCIazyZxvYxW
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 24-07-2022 13:58:31 -0700, Zac Medico wrote:
> On 7/24/22 12:29, Fabian Groffen wrote:
> > Hi,
> >=20
> > 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.
> >=20
> > Is there anything against using /usr/bin/env bash for shell scripts?
> > Changing this would help for Prefix.
>=20
>=20
> I can't think of any reason not to do this.

Do you want to see a patch, or is it OK to push this myself?

Thanks,
Fabian



--=20
Fabian Groffen
Gentoo on a different level

--J8CzYCIazyZxvYxW
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEELUvHd/Gtp7LaU1vuzpXahU5EQpMFAmLeNYoACgkQzpXahU5E
QpPbdgf+K66dBx0/yLcn6WTdOj14cvJrdCIp41LjtHgENKiip7zprC6w8t1NtAxP
cI7N10JQKTyTxEhFzywDU5KF1f4iVrmzgjet1I6uqMTzvulT9B/8+pKWbpaiyFrw
zjsuDLfAf9m5D6gYmOvWdm2Y1snybnn8s7k63wpVdkJd+GwhhYAn6zvRL9WmUD8O
rhr7cheNxZTS3T3Or+zEKP8o/1FujDLc2kDHyRHCPjkYd1N54mJE+ROCO/4AGiEg
OTpCKJBcKRC2MTspyA2cAjKkuX/QZYH4Y30oqu7QtWhCqucu6mDL3W5bSOAkXAWy
t2p4ESFJYUjcXxnzW7+c7ZjYwgxD9w==
=sRpc
-----END PGP SIGNATURE-----

--J8CzYCIazyZxvYxW--