still UsrMove problems and wrong PATH in openssh
mjg59 at srcf.ucam.org
Wed Oct 31 21:03:12 UTC 2012
On Wed, Oct 31, 2012 at 03:21:56PM -0400, Ben Rosser wrote:
> I'm not a Perl programmer... but shouldn't scripts be using something like
> #!/usr/bin/env perl rather than hardcoding #!/bin/perl anyway? That's the
> way Python scripts have been written for years (#!/usr/bin/env python),
> long before UsrMove.
Well, /bin/perl would immediately fail on Debian or Ubuntu, so it seems
pretty unlikely that any upstream is doing it. There are reasons why
using env can be a bad idea and I don't think it's universal, but
/bin/perl is certainly wrong.
Matthew Garrett | mjg59 at srcf.ucam.org
More information about the devel