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

Bug#632883: [checks/debhelper] brace-expansion-in-debhelper-config-file false negatives



Package: lintian
Version: 2.5.1
Severity: normal
Tags: patch

brace-expansion-in-debhelper-config-file is never triggered for files such as "<packagename>.install"; please see the attached patch.

--
Jakub Wilk
diff --git a/checks/debhelper b/checks/debhelper
--- a/checks/debhelper
+++ b/checks/debhelper
@@ -286,7 +286,7 @@
 	$seenmaintscript = 1;
     } else {
 	my $base = $file;
-	$base =~ s/^[.]+\.//;
+	$base =~ s/^.+\.//;
 
 	# Check whether this is a debhelper config file that takes a list of
 	# filenames.  If so, check it for brace expansions, which aren't

Reply to: