diff options
Diffstat (limited to 'BCD/Isolinux.pm')
-rw-r--r-- | BCD/Isolinux.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/BCD/Isolinux.pm b/BCD/Isolinux.pm index 0f17dd1..fa1ef50 100644 --- a/BCD/Isolinux.pm +++ b/BCD/Isolinux.pm @@ -50,15 +50,15 @@ sub add_entry { sub use_firmware { print_color("$LOG copy fw.gz to $build_isolinux_dir/alt0/", $color); my $syslinuxcfg = "$build_isolinux_dir/isolinux.cfg"; - open (IN, "+<$syslinuxcfg"); + open(IN, "+<$syslinuxcfg"); @file = <IN>; seek IN,0,0; - foreach (@file){ - $_ =~ s|alt0/all.rdz|alt0/all.rdz,alt0/fw.gz|g; + foreach (@file) { + s|alt0/all.rdz|alt0/all.rdz,alt0/fw.gz|g; print IN $_; } close IN; - system("cp -v /usr/lib*/drakx-installer-images/isolinux/alt0/fw.gz $build_isolinux_dir/alt0/") + system("cp -v /usr/lib*/drakx-installer-images/isolinux/alt0/fw.gz $build_isolinux_dir/alt0/"); } sub copy_files { |