[devscripts] 03/03: remove '\' from © information (for nroff files)

dod at debian.org dod at debian.org
Wed Aug 19 10:18:40 UTC 2015


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

dod pushed a commit to branch master
in repository devscripts.

commit 7ad462cac8076f46fc5b406cf22baf9c88468351
Author: Dominique Dumont <dod at debian.org>
Date:   Wed Aug 19 12:17:14 2015 +0200

    remove '\' from © information (for nroff files)
---
 debian/changelog        | 1 +
 scripts/licensecheck.pl | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e7e302f..f737fa2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,7 @@ devscripts (2.15.9) UNRELEASED; urgency=medium
       not (instead of testing file suffix)
     * remove trailing '#' from © information
     * store only first © block to avoid duplicated information
+    * remove '\' from © information (useful for nroff files)
 
  -- Joachim Breitner <nomeata at debian.org>  Tue, 11 Aug 2015 21:12:03 +0200
 
diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index 07b1a7c..3f6a4d4 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -423,7 +423,7 @@ sub parse_copyright {
                 $match =~ s/$copyright_indicator_regex//igx;
                 $match =~ s/^\s+//;
                 $match =~ s/\s{2,}/ /g;
-                $match =~ s/\\@/@/g;
+		$match =~ s/\\//g; # de-cruft nroff files
                 $match =~ s/\s*[*#]\s*$//;
                 $copyright = $match;
             }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list