[Pkg-libvirt-commits] [libguestfs] 53/156: podwrapper: Put =encoding line before first POD directive.

Hilko Bengen bengen at moszumanska.debian.org
Sat Aug 30 08:25:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository libguestfs.

commit 9c5acdcf93f0c857e4147cafb297dee984b19c64
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Jun 13 22:42:42 2014 +0100

    podwrapper: Put =encoding line before first POD directive.
    
    =head isn't always the first POD directive.
    
    This fixes commit 1148bd91ce2c0bebc65f9855368fd026aaf9f603.
    
    (cherry picked from commit 31c07bc9d8128f838671a68884613a512282ea5a)
---
 podwrapper.pl.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/podwrapper.pl.in b/podwrapper.pl.in
index a685a4e..c2894da 100755
--- a/podwrapper.pl.in
+++ b/podwrapper.pl.in
@@ -293,7 +293,7 @@ foreach (@verbatims) {
 die "$progname: $input: =encoding must not be present in input\n"
     if $content =~ /^=encoding/m;
 
-$content =~ s/^=head1(.*)/\n=encoding utf8\n\n=head1$1/m;
+$content =~ s/^=(.*)/\n=encoding utf8\n\n=$1/m;
 
 if ($strict_checks) {
     # Verify sections present / not present.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list