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

Diego Biurrun git at libav.org
Sun Dec 1 19:01:35 CET 2013


Module: libav
Branch: master
Commit: 7b05845b1523a10c458b5b59645cde8e6dc6c231

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Fri Nov 29 13:24:56 2013 -0500

doc: Try to find nonstandard Perl path from the environment

---

 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 = ();



More information about the libav-commits mailing list