Fix version of new mwccsym2 is reported as N.A.
authorDario Sestito <darios@symbian.org>
Thu, 11 Feb 2010 15:23:47 +0000
changeset 888 5cd45cbf7622
parent 886 fc600bbaa15c
child 889 89a04d480b55
Fix version of new mwccsym2 is reported as N.A.
common/tools/envinfo.pl
--- a/common/tools/envinfo.pl	Wed Feb 10 16:22:25 2010 +0000
+++ b/common/tools/envinfo.pl	Thu Feb 11 15:23:47 2010 +0000
@@ -79,7 +79,7 @@
 # Metrowerk Compiler
 my $mwcc_ver = 'N.A.';
 my $mwcc_out = `mwccsym2 -version`;
-$mwcc_ver = $1 if ($mwcc_out =~ /^Version (.*) \(Build/m);
+$mwcc_ver = $1 if ($mwcc_out =~ /^Version (.*)/m);
 push @environment_info, {name=>'mwccsym2', version=>$mwcc_ver};
 
 # RVCT 2.2