kernel/eka/rombuild/rom_sbs.pl
branchGCC_SURGE
changeset 230 ec72eca27576
parent 223 9b475c7a1224
parent 227 e4a1175ecbc0
--- 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;