Final fix to rom_sbs.pl for Bug 3358
authorWilliam Roberts <williamr@symbian.org>
Mon, 26 Jul 2010 11:06:41 +0100
changeset 227 e4a1175ecbc0
parent 224 da1922ac85fb
child 230 ec72eca27576
child 250 ac18961ed598
child 262 cc162ee0c4fd
Final fix to rom_sbs.pl for Bug 3358 Sadly the rom.pl code did not work when the script was run from the root directory (Bug 3381)
kernel/eka/rombuild/rom_sbs.pl
--- a/kernel/eka/rombuild/rom_sbs.pl	Fri Jul 23 10:28:58 2010 +0100
+++ b/kernel/eka/rombuild/rom_sbs.pl	Mon Jul 26 11:06:41 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;