[debsums] 182/184: Quote HERE document delimiters

Axel Beckert abe at deuxchevaux.org
Mon Mar 2 21:21:31 UTC 2015


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

abe pushed a commit to branch master
in repository debsums.

commit 590d7af92f37586a1aaca63d230aed75822bdf5e
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sat Feb 7 01:07:06 2015 +0100

    Quote HERE document delimiters
---
 debian/changelog | 2 ++
 debsums          | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8cdb262..74da973 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ debsums (2.1~dev) UNRELEASED; urgency=medium
     + Apply patch by Vladimir N. Solovyov to also report modified files of
       arch-qualified (multiarch) packages. (Closes: #773136)
     + Remove obsolete CVS keywords.
+    + Quote HERE document delimiters to ease syntax highlighting and
+      please perlcritic.
   * debsums.1:
     + Remove mentioning of /etc/apt/apt.conf.d/90debsums (Closes: #737240)
   * rdebsums:
diff --git a/debsums b/debsums
index 4e2ce75..2374006 100755
--- a/debsums
+++ b/debsums
@@ -40,7 +40,7 @@ sub version {
 (my $self = $0) =~ s!.*/!!;
 sub version_info {
 my $version_number = version();
-my $version = <<EOT;
+my $version = <<"EOT";
 $self $version_number
 
 Copyright (c) 2002, 2004, 2005, 2006, 2007  Brendan O'Dea <bod\@debian.org>
@@ -54,7 +54,7 @@ EOT
 return $version;
 }
 
-my $help = <<EOT;
+my $help = <<"EOT";
 $self checks the MD5 sums of installed debian packages.
 
 Usage: $self [OPTIONS] [PACKAGE|DEB] ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git



More information about the Pkg-perl-cvs-commits mailing list