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. 

        hp

-- 
   _  | Peter J. Holzer    | I want to forget all about both belts and
|_|_) |                    | suspenders; instead, I want to buy pants 
| |   | h...@hjp.at         | that actually fit.
__/   | http://www.hjp.at/ |   -- http://noncombatant.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to