[FFmpeg-devel] [PATCH] compat/solaris/make_sunver.pl: Use /usr/bin/env perl instead of /usr/bin/perl

Ganesh Ajjanagadde gajjanag at mit.edu
Sun Oct 18 02:52:59 CEST 2015


On Sat, Oct 17, 2015 at 8:41 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> From: Michael Niedermayer <michael at niedermayer.cc>
>
> This is how the other perl scripts in git call perl
>
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  compat/solaris/make_sunver.pl |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/compat/solaris/make_sunver.pl b/compat/solaris/make_sunver.pl
> index 929bdda..0e9ed1d 100755
> --- a/compat/solaris/make_sunver.pl
> +++ b/compat/solaris/make_sunver.pl
> @@ -1,4 +1,4 @@
> -#!/usr/bin/perl -w
> +#!/usr/bin/env perl

Should be ok. I don't know if the -w (which turns on warnings) is
useful, but for the moment LGTM.

>
>  # make_sunver.pl
>  #
> --
> 1.7.9.5
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list