[devscripts] 03/16: licensecheck: only check unicode © now that file is decoded correcly

dod at debian.org dod at debian.org
Thu May 14 16:34:25 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 cb0c6c213ae229f57f06b5012bb9b4d4f687959e
Author: Dominique Dumont <dod at debian.org>
Date:   Wed May 13 08:04:13 2015 +0200

    licensecheck: only check unicode © now that file is decoded correcly
---
 scripts/licensecheck.pl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/licensecheck.pl b/scripts/licensecheck.pl
index f379578..5672c8d 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -348,8 +348,7 @@ sub parse_copyright {
     my $copyright_indicator_regex = '
 	(?:copyright	# The full word
 	|copr\.		# Legally-valid abbreviation
-	|\x{00a9}	# Unicode character COPYRIGHT SIGN
-	|\xc2\xa9	# Unicode copyright sign encoded in iso8859
+	|©	# Unicode character COPYRIGHT SIGN
 	|\(c\)		# Legally-null representation of sign
 	)';
     my $copyright_disindicator_regex = '

-- 
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