[devscripts] 01/03: licensecheck: remove trailing '#' from copyright
dod at debian.org
dod at debian.org
Wed Aug 19 10:18:39 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 40500863fdfad44c60003905c43858c0490ef5e7
Author: Dominique Dumont <dod at debian.org>
Date: Tue Aug 18 14:06:26 2015 +0200
licensecheck: remove trailing '#' from copyright
---
debian/changelog | 6 ++++--
scripts/licensecheck.pl | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index faa87a3..555a441 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,8 +18,10 @@ devscripts (2.15.9) UNRELEASED; urgency=medium
+ Avoid querying the BTS when there are no bugs closed in the changelog.
[ Dominique Dumont ]
- * licensecheck: use 'file' command to decide whether to scan a file or
- not (instead of testing file suffix)
+ * licensecheck:
+ * use 'file' command to decide whether to scan a file or
+ not (instead of testing file suffix)
+ * remove trailing '#' from © information
-- 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 fd84db5..2e25aa7 100755
--- a/scripts/licensecheck.pl
+++ b/scripts/licensecheck.pl
@@ -418,7 +418,7 @@ sub parse_copyright {
$match =~ s/^\s+//;
$match =~ s/\s{2,}/ /g;
$match =~ s/\\@/@/g;
- $match =~ s/\s*\*\s*$//;
+ $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