OSDN Git Service

doc: Try to find nonstandard Perl path from the environment
authorDiego Biurrun <diego@biurrun.de>
Fri, 29 Nov 2013 18:24:56 +0000 (13:24 -0500)
committerDiego Biurrun <diego@biurrun.de>
Sun, 1 Dec 2013 17:59:10 +0000 (12:59 -0500)
doc/texi2pod.pl

index 96d967b..fb4f7be 100755 (executable)
@@ -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 = ();