[FFmpeg-devel] [Patch] Make doc/texi2pod.pl more portable

Ismail Dönmez ismail
Tue Oct 23 20:39:31 CEST 2007


Tuesday 23 October 2007 Tarihinde 21:45:52 yazm??t?:
> 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...

Ugh... /me hides in the corner.

-- 
Faith is believing what you know isn't so -- Mark Twain




More information about the ffmpeg-devel mailing list