[SCM] Debian package checker branch, master, updated. 1.24.4-67-g5ad90b4
The following commit has been merged in the master branch:
commit 5ad90b414b4c47eda0400b11772215f0c6d04cc5
Author: Russ Allbery <rra@debian.org>
Date: Tue Aug 26 11:49:39 2008 -0700
Generalize the regex for matching PEAR modules
Allow /pear/ as well as /pear. to catch PEAR modules that don't have a
URL but do have a revision header.
diff --git a/checks/files b/checks/files
index 1a91112..ce6238c 100644
--- a/checks/files
+++ b/checks/files
@@ -672,7 +672,7 @@ foreach my $file (sort keys %{$info->index}) {
if ($file =~ m,$pearmodule->[0], and $pkg ne $pearmodule->[1]) {
open (PEAR, "unpacked/$file") or fail("cannot open PHP file: $!");
while (<PEAR>) {
- if (m,/pear\.php\.net/,i) {
+ if (m,/pear[/.],i) {
tag "embedded-pear-module", "$file";
last;
}
--
Debian package checker
Reply to: