Fix: rom_sbs.pl should exit with return code different than 0 if rombuild is not found in the path
authorDario Sestito <darios@symbian.org>
Tue, 12 Oct 2010 16:46:19 +0100
changeset 288 3587eff339f4
parent 284 e76171403744
Fix: rom_sbs.pl should exit with return code different than 0 if rombuild is not found in the path
kernel/eka/rombuild/rom_sbs.pl
--- a/kernel/eka/rombuild/rom_sbs.pl	Tue Oct 05 14:38:32 2010 +0100
+++ b/kernel/eka/rombuild/rom_sbs.pl	Tue Oct 12 16:46:19 2010 +0100
@@ -470,6 +470,11 @@
 my $nwarnings=0;
 
 while(<Y>) {
+	if (/is not recognized as an internal or external command/)
+	{
+		print;
+		exit(1);
+	}
 	my $error=(/^error:/i);
 	my $warning=(/^warning:/i);
 	print if ($error or $warning or !$quiet);