[libconfig-model-dpkg-perl] 02/03: copyright scanner: improved © cleanup

dod at debian.org dod at debian.org
Wed Sep 23 17:41:24 UTC 2015


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

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit be8fd94596fd03658a3cdd9a8aaffc46bb4677d3
Author: Dominique Dumont <dod at debian.org>
Date:   Mon Aug 31 13:27:10 2015 +0200

    copyright scanner: improved © cleanup
---
 lib/Dpkg/Copyright/Scanner.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Dpkg/Copyright/Scanner.pm b/lib/Dpkg/Copyright/Scanner.pm
index a1fa6e0..1640251 100644
--- a/lib/Dpkg/Copyright/Scanner.pm
+++ b/lib/Dpkg/Copyright/Scanner.pm
@@ -137,7 +137,7 @@ sub scan_files ( %args ) {
         $c =~ s/(\\n)*all\s+rights?\s+reserved\.?(\\n)*\s*//gi; # yes there are literal \n
         $c = 'no-info-found' if $c =~ /^\*No/;
         $c =~ s/\(r\)//g;
-        $c =~ s!^[\s,/*]|[\s,/*-]+$!!g;
+        $c =~ s!^[\s,/*]|[\s,#/*-]+$!!g;
         $c =~ s/--/-/g;
         $c =~ s!\s+\*/\s+! !;
 

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



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