From 7b05845b1523a10c458b5b59645cde8e6dc6c231 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 29 Nov 2013 13:24:56 -0500 Subject: [PATCH] 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 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 = ();