imgtools/romtools/rombuild/romnibus.pl
changeset 38 620772202a07
parent 33 667e3f7728f7
child 39 fa9d7d89d3d6
equal deleted inserted replaced
37:863e2b34c16d 38:620772202a07
   648 				}
   648 				}
   649 			}
   649 			}
   650 			elsif ($on_windows) {
   650 			elsif ($on_windows) {
   651 				$line =~ s|\/|\\|g;
   651 				$line =~ s|\/|\\|g;
   652 			}
   652 			}
       
   653 			elsif ($line =~ /(^bootbinary\s*=\s*${epocroot}epoc32)(\S+)$/) {
       
   654 				# unixify the bootbinary line
       
   655 				my $tail = $2;
       
   656 				$line =~ s|\\|\/|g;
       
   657 				$tail =~ s|\\|\/|g;
       
   658 				my $lc_tail = lc($tail);
       
   659 				$line =~ s|$tail|$lc_tail|;
       
   660 			}
   653 			elsif ($line =~ /^(\s*\S+\s*=\s*)(\S+)(\s*\S*)/) {
   661 			elsif ($line =~ /^(\s*\S+\s*=\s*)(\S+)(\s*\S*)/) {
       
   662 				#unixify the lefthand sides of rom-mapping lines.
   654 				my $keyword_part = $1;
   663 				my $keyword_part = $1;
   655 				my $src = $2;
   664 				my $src = $2;
   656 				my $dest = $3;
   665 				my $dest = $3;
   657 				$dest =~ s/^\s+//;
   666 				$dest =~ s/^\s+//;
   658 				$dest =~ s/\s+$//;
   667 				$dest =~ s/\s+$//;