equal
deleted
inserted
replaced
49 ($romfile,$hostfile,$dependencies,$nothing) = split /\t/, $line; |
49 ($romfile,$hostfile,$dependencies,$nothing) = split /\t/, $line; |
50 next if (defined $nothing || !defined $hostfile); |
50 next if (defined $nothing || !defined $hostfile); |
51 $cmd = ""; |
51 $cmd = ""; |
52 } |
52 } |
53 |
53 |
54 if (lc $cmd eq "slim") |
54 if ($cmd =~ /slim$/i) |
55 { |
55 { |
56 $need_details{lc $romfile} = 1; |
56 $need_details{lc $romfile} = 1; |
57 $cmd = "stem"; # slim implies stem |
57 $cmd = "stem"; # slim implies stem |
58 } |
58 } |
59 if (lc $cmd eq "stem" && $hostfile !~ /stem_/) |
59 if ($cmd =~ /stem$/i && $hostfile !~ /stem_/) |
60 { |
60 { |
61 push @contents, "$romfile\t$hostfile"; # calculate dependencies for the original file |
61 push @contents, "$romfile\t$hostfile"; # calculate dependencies for the original file |
62 $hostfile =~ s/(\/|\\)([^\\\/]+)$/$1stem_$2/; # then use stem version as well |
62 $hostfile =~ s/(\/|\\)([^\\\/]+)$/$1stem_$2/; # then use stem version as well |
63 } |
63 } |
64 push @contents, "$romfile\t$hostfile"; |
64 push @contents, "$romfile\t$hostfile"; |