diff options
Diffstat (limited to 'ffmpeg/doc/texi2pod.pl')
| -rwxr-xr-x | ffmpeg/doc/texi2pod.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg/doc/texi2pod.pl b/ffmpeg/doc/texi2pod.pl index 697576c..6cf78d8 100755 --- a/ffmpeg/doc/texi2pod.pl +++ b/ffmpeg/doc/texi2pod.pl @@ -1,4 +1,4 @@ -#! /usr/bin/perl +#!/usr/bin/env perl # Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. @@ -121,7 +121,7 @@ INF: while(<$inf>) { $chapters{$chapter_name} .= postprocess($chapter) if ($chapter_name); # start new chapter - $chapter_name = $1, push (@chapters_sequence, $chapter_name); + $chapter_name = $1, push (@chapters_sequence, $chapter_name) unless $skipping; $chapters{$chapter_name} = "" unless exists $chapters{$chapter_name}; $chapter = ""; $output = 1; |
