Re: /usr/bin/env perl
[email protected] ("Peter J. Holzer") Thu, 2 Oct 2014 22:24:36 +0200
| Newsgroups | perl.qpsmtpd |
|---|---|
| Message-ID | <[email protected]> |
--Fig2xvG2VGoz8o/s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2014-10-02 12:48:59 +0200, Kaare Rasmussen wrote: > I use perlbrew and therefore change the first line of e.g. > qpsmtpd-forkserver to /usr/bin/env perl. It has possibly been > discussed before (?) but are there anything that prevents this to go > into the repo? In general, I think that "#!/usr/bin/env perl" is a terrible idea for any script as it makes that script dependent on the PATH. That's even worse for perlbrew and a daemon, which is usually started at boot time and cannot rely on the PATH containing anything except the system default. That said, "make install" replaces the shebang line with a path to the correct perl interpreter anyway, so it doesn't matter what's in the source.=20 hp --=20 _ | Peter J. Holzer | I want to forget all about both belts and |_|_) | | suspenders; instead, I want to buy pants=20 | | | [email protected] | that actually fit. __/ | http://www.hjp.at/ | -- http://noncombatant.org/ --Fig2xvG2VGoz8o/s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIVAwUBVC20g/IOSFES/ihdAQI6xRAAq60xQT39xjr+MKHqBg3qbbam8/4RMfMf c9EYG8Rv2pldG0LAcYbyAFwjvkzLXPuE6bytlagXJiVube8Kyr8wjMhydaNgYG3l jxkdQR1tCy2Bedbr76smqUcoMSy/OAbrSiNoKJOwFQ7l4AyAMOP+nBgqHMwxREFZ DjGOnowDfXaH5R3TxgOfsbULlFkhNVocjfOlwiYkhfIUCJb81TBwrz+BSdO+Vxxu PD6hdLAbnczYm8UJKWrJ1SfBIFZcF8kuUnmppUGuWX4WlwrfbGUi2iI3Ba9X0cRJ OxQNaJagH7ckk71XSz/DdEu1vG4P5yRED+TJuwkNwKS/urWwetBo/nemAH2d0Zeh qjsbTqRu4SA+dwcsGxW58EwxKRgNjfhZAB4yZGCp8SosZn3GE3bTjLOZOlKCSy35 FNS0ru7T/PxQxbhr2hYPSXinX9wRxkrA4LO+Dt0BShxyXlv3ix+xK+Txm7tZBlNA vAouWN/nZz7cbzSv55nTrx4xUg2sjXV49wTeESB3bR6M/s5h1g3csnRuVfaqqtUQ KqArKyttS/0tAJKxBtXdFlw8snY2OwAgDadCckyINQBERdgiA6yFnnRn8nd5DDkg QiKItO2SBxjd3LzYrhTM2U4G89zovpXKvQvcNEhhefw+1+R82Wqik2J1CtLC/qrE WfEJwqZrees= =+HCl -----END PGP SIGNATURE----- --Fig2xvG2VGoz8o/s--