[libav-devel] [PATCH] doc: Try to find nonstandard Perl path from the environment

Diego Biurrun diego at biurrun.de
Sat Nov 30 14:48:27 CET 2013


---

Now with "use warnings;" added.

 doc/texi2pod.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 96d967b..fb4f7be 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#!/usr/bin/env perl
 
 #   Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
 
@@ -23,6 +23,8 @@
 # markup to Perl POD format.  It's intended to be used to extract
 # something suitable for a manpage from a Texinfo document.
 
+use warnings;
+
 $output = 0;
 $skipping = 0;
 %sects = ();
-- 
1.8.3.2



More information about the libav-devel mailing list