Re: contrib/diff-highlight: stop hard-coding perl location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eric,

Thank you, is there anything I should do? Or I should just wait?

Best,
Peter

2016/2/22 下午1:56於 "Eric Sunshine" <sunshine@xxxxxxxxxxxxxx>寫道:
>
> On Mon, Feb 22, 2016 at 12:54 AM, Peter Dave Hello
> <hsu@xxxxxxxxxxxxxxxxxx> wrote:
> > From: Peter Dave Hello <hsu@xxxxxxxxxxxxxxxxxx>
> >
> > Use `#!/usr/bin/env perl` instead of `#!/usr/bin/perl`,
> > the util "env" can help located the "perl",
> > so that it can work on FreeBSD and other platforms.
> >
> > Signed-off-by: Peter Dave Hello <hsu@xxxxxxxxxxxxxxxxxx>
>
> Better, thanks.
>
> > ---
> >  contrib/diff-highlight/diff-highlight | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/contrib/diff-highlight/diff-highlight
> > b/contrib/diff-highlight/diff-highlight
> > index ffefc31..b57b0fd 100755
> > --- a/contrib/diff-highlight/diff-highlight
> > +++ b/contrib/diff-highlight/diff-highlight
> > @@ -1,4 +1,4 @@
> > -#!/usr/bin/perl
> > +#!/usr/bin/env perl
> >
> >  use 5.008;
> >  use warnings FATAL => 'all';

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]