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

Bug#539315: lintian: Lintian should not warn about executable jars



tag 539315 + patch
thanks

Here's a quick patch to exclude .jar files from triggering
executable-not-elf-or-script.

diff --git a/checks/scripts b/checks/scripts
index 47d5a4e..59d5dfb 100644
--- a/checks/scripts
+++ b/checks/scripts
@@ -468,6 +468,7 @@ foreach (keys %executable) {
                  or $scripts{$_}
                  or $_ =~ m,^usr(?:/X11R6)?/man/,
                  or $_ =~ m/\.exe$/ # mono convention
+                 or $_ =~ m/\.jar$/ # Debian Java policy 2.2
                  );
 }



Reply to: