Merge latest fixes for rom_sbs.pl GCC_SURGE
authorMike Kinghan <mikek@symbian.org>
Mon, 26 Jul 2010 13:46:48 +0100
branchGCC_SURGE
changeset 233 0cfe5abbc633
parent 232 9143fc12f708 (current diff)
parent 230 ec72eca27576 (diff)
child 234 56f96efe467a
Merge latest fixes for rom_sbs.pl
--- a/kernel/eka/rombuild/rom_sbs.pl	Mon Jul 26 13:44:21 2010 +0100
+++ b/kernel/eka/rombuild/rom_sbs.pl	Mon Jul 26 13:46:48 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;