[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.0-13-g090a500



The following commit has been merged in the master branch:
commit 090a500cee5dbb95323925d5fd2750dae0f8e707
Author: Niels Thykier <niels@thykier.net>
Date:   Thu May 26 11:21:53 2011 +0200

    Fixed false-positives due to missing escape of "." in regex

diff --git a/collection/java-info b/collection/java-info
index e648ce8..63c771a 100755
--- a/collection/java-info
+++ b/collection/java-info
@@ -41,7 +41,7 @@ while (<INDEX>) {
     chomp;
     $_ = (split(' ', $_, 6))[5];
     next if / -> .*/;		# We skip symlinks.
-    if (m#(\S+).jar$#i) {
+    if (m#(\S+)\.jar$#i) {
 	my $file = $_;
 	my $has_manifest = 0;
 
diff --git a/debian/changelog b/debian/changelog
index 459ae78..ee21d13 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,10 @@ lintian (2.5.1) UNRELEASED; urgency=low
     + [NT] Sort the jar files by name, so they are checked in the same
       order.
 
+  * collection/java:
+    + [NT] Fixed a regex that would accept any file ending with "jar" to
+      be a jar file rather than only accepting ".jar".  This fixes a
+      number of false-positives java checks.
   * collection/unpacked:
     + [NT] Added support for unpacking source packages using libdpkg-perl,
       instead of dpkg-source, if the latter is not present.

-- 
Debian package checker


Reply to: