summaryrefslogtreecommitdiff
path: root/doc/texi2pod.pl
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-11-29 13:24:56 -0500
committerDiego Biurrun <diego@biurrun.de>2013-12-01 12:59:10 -0500
commit7b05845b1523a10c458b5b59645cde8e6dc6c231 (patch)
treec3bae9de147556a7c49bd68795f03b15905e0d08 /doc/texi2pod.pl
parent3cd612d44789948f72b52944474e0870c5c60964 (diff)
doc: Try to find nonstandard Perl path from the environment
Diffstat (limited to 'doc/texi2pod.pl')
-rwxr-xr-xdoc/texi2pod.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index 96d967ba7d..fb4f7be2db 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 = ();