make_disc_trees.pl: use write_file() for .component files as well
This commit is contained in:
parent
957ee269b4
commit
214e2dd88c
|
@ -1238,9 +1238,8 @@ sub add_firmware_stuff {
|
||||||
if (-f "$dir/firmware/dep11/$p.patterns") {
|
if (-f "$dir/firmware/dep11/$p.patterns") {
|
||||||
$blocks_added += get_file_blocks("$dir/firmware/dep11/$p.patterns");
|
$blocks_added += get_file_blocks("$dir/firmware/dep11/$p.patterns");
|
||||||
# Make sure apt-setup can be configured appropriately:
|
# Make sure apt-setup can be configured appropriately:
|
||||||
open(CFILE, ">$dir/firmware/dep11/$p.component");
|
write_file("$dir/firmware/dep11/$p.component", $component)
|
||||||
print CFILE $component;
|
or die "unable to create $dir/firmware/dep11/$p.component";
|
||||||
close CFILE;
|
|
||||||
$blocks_added += get_file_blocks("$dir/firmware/dep11/$p.component");
|
$blocks_added += get_file_blocks("$dir/firmware/dep11/$p.component");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue