yet another change to get the correct gcc version for the nightly test results.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29188 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Patrick Jenkins 2006-07-18 21:21:53 +00:00
parent 195bb4a7b0
commit 1b629444e7

View File

@ -961,15 +961,16 @@ my $dejagnulog_full;
@DEJAGNULOG_FULL = ReadFile "$DejagnuTestsLog";
$dejagnulog_full = join("\n", @DEJAGNULOG_FULL);
my $gcc_version_long="";
if($GCCPATH ne ""){
my $gcc_version_long = `$GCCPATH/gcc --version`;
$gcc_version_long = `$GCCPATH/gcc --version`;
print "$GCCPATH/gcc --version\n";
}
else{
my $gcc_version_long = `gcc --version`;
$gcc_version_long = `gcc --version`;
print "gcc --version\n";
}
@GCC_VERSION = split "\n", $gcc_version_long;
@GCC_VERSION = split '\n', $gcc_version_long;
my $gcc_version = $GCC_VERSION[0];
##############################################################