[FFmpeg-devel] [Patch] Make doc/texi2pod.pl more portable
Rich Felker
dalias
Tue Oct 23 20:45:52 CEST 2007
On Tue, Oct 23, 2007 at 01:43:22PM +0300, Ismail D?nmez wrote:
> > > Actually the attached patch also works here.
> > >
> > > --- doc/texi2pod.pl (revision 10843)
> > > +++ doc/texi2pod.pl (working copy)
> > > @@ -1,4 +1,5 @@
> > > -#! /usr/bin/perl -w
> > > +eval 'exec perl -wS $0 ${1+"$@"}'
> > > + if 0;
> >
> > I don't know if any of the proposed solutions is valid, but they all
> > look suspicious to me.
>
> Uhm just use
>
> #!/usr/bin/env perl
> use warnings;
>
> Thats portable anywhere.
Except the windows crap that this patch was written to address...
Rich
More information about the ffmpeg-devel
mailing list