[FFmpeg-devel] [PATCH] doc/texi2pod: use env program to detect location of perl interpreter program

Michael Niedermayer michaelni at gmx.at
Fri Aug 10 13:55:18 CEST 2012


On Fri, Aug 10, 2012 at 11:51:57AM +0200, Stefano Sabatini wrote:
> Should fix perl detection in case perl is not installed in /usr/bin.
> 
> Also use an explicit "use warnings" pragma rather than relying on -w,
> since many OS interpret the second part of the shebang line as an unsplit
> argument (like "perl -w").
> ---
>  doc/texi2pod.pl |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
> index 94323be..36e3ae3 100755
> --- a/doc/texi2pod.pl
> +++ b/doc/texi2pod.pl
> @@ -1,4 +1,4 @@
> -#! /usr/bin/perl -w
> +#!/usr/bin/env perl

wont work on haiku as theres no /usr/bin there it seems


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120810/b5e0ec1e/attachment.asc>


More information about the ffmpeg-devel mailing list