usage of /bin/bash in shebangs

Fabian Groffen <[email protected]> Sun, 24 Jul 2022 21:29:35 +0200
Newsgroups gmane.linux.gentoo.portage.devel
Organization Gentoo Foundation, Inc.
Message-ID <[email protected]>
--40oAMqQt29STWLTl
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

Thanks,
Fabian


--=20
Fabian Groffen
Gentoo on a different level

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

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

iQEzBAABCgAdFiEELUvHd/Gtp7LaU1vuzpXahU5EQpMFAmLdnZ8ACgkQzpXahU5E
QpPYHQf+N8XhRey1x8rIUrlv8c6u7biiIZqfzApnOhaxiP/5Yzjv052DnYmPN+0m
7Om/0yIUK3Y0VWUUTn+hzz6aSZt1bLT+rP+e680BZnJ9VXyJPdrZRsUaynVAWnYi
PQm7VHVEYfH4UD18tQ8/hHBr0YJN6kqMwg247Ev997ptBUtK6enpEL3JzmAvoS4x
Ls3WEV3iXZRVqkXKahjc+r7zLocepBvGW9i6SCS08mIdLaBfvv1yV1lCm3nvzMD0
gEeVD8HY26oT9MxIiZ1msUAUD5hQhndLwxBloDkPGYwSBERt+H09h1p/1z+jjqxE
75d0brHrQ0lJ2c0fruQBJ3I2s5YLvA==
=kgQc
-----END PGP SIGNATURE-----

--40oAMqQt29STWLTl--