Merge in latest fix for rom_sbs.pl GCC_SURGE
authorWilliam Roberts <williamr@symbian.org>
Mon, 26 Jul 2010 11:21:15 +0100
branchGCC_SURGE
changeset 230 ec72eca27576
parent 229 07a685bbdd3d (current diff)
parent 227 e4a1175ecbc0 (diff)
child 233 0cfe5abbc633
Merge in latest fix for rom_sbs.pl
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;