[PATCH] Fix usage of --tags with lintian tags
Tags described in checks/lintian.desc were loaded separately and without
"script" set. Lintian failed because there was no "script" and thus the
condition to skip lintian tags was never met.
---
frontend/lintian | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/frontend/lintian b/frontend/lintian
index 1aca34e..16e2979 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -554,7 +554,7 @@ import Tags;
my @l_secs = read_dpkg_control("$LINTIAN_ROOT/checks/lintian.desc");
shift(@l_secs);
-map Tags::add_tag($_), @l_secs;
+map { $_->{'script'} = 'lintian'; Tags::add_tag($_) } @l_secs;
# }}}
--
1.5.6.3
Reply to: