diff -r 07a685bbdd3d -r ec72eca27576 kernel/eka/rombuild/rom_sbs.pl --- a/kernel/eka/rombuild/rom_sbs.pl Mon Jul 26 11:09:46 2010 +0100 +++ b/kernel/eka/rombuild/rom_sbs.pl Mon Jul 26 11:21:15 2010 +0100 @@ -128,8 +128,8 @@ $Epoc32Path .= $EpocRoot . "epoc32"; $toolpath = "$Epoc32Path\\tools\\"; push @INC, $toolpath; - $BasePath = $toroot; - $BasePath =~ s/\\$/$e32path\\/; + $BasePath = "$toroot$e32path\\"; # Note: toroot may be empty! + $BasePath =~ s/\\\\/\\/g; # clean up path seaprators } use E32Plat;