make_disc_trees.pl: fix generation of Contents-firmware

The regexp didn't match symlinks in .deb files, let's fix that
This commit is contained in:
Steve McIntyre 2023-02-18 23:33:02 +00:00
parent c5ff679857
commit aebf4f0556
1 changed files with 1 additions and 1 deletions

View File

@ -1275,7 +1275,7 @@ sub add_firmware_stuff {
or die "Can't find contents of $dir/firmware/$base_file: $!";
while (defined(my $line = <DPKGC>)) {
chomp $line;
if ($line =~ m,^[-|l]\S+\s+\S+\s+\d+\s+\S+\s+\S+\s+./(\S+/firmware/\S+)$,) {
if ($line =~ m,^[-|l]\S+\s+\S+\s+\d+\s+\S+\s+\S+\s+./(\S+/firmware/\S+),) {
printf OFILE "%-55s %s %s\n", "/$1", $base_file, $component;
}
}