summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPatrick Jenkins <pjenkins@apple.com>2006-07-18 21:21:53 +0000
committerPatrick Jenkins <pjenkins@apple.com>2006-07-18 21:21:53 +0000
commit1b629444e77c21e41985a61170fc0572ff465e25 (patch)
tree03ae599dfcb738d5d937d2d68932f0a52ea45954 /utils
parent195bb4a7b0de2bb76ae064a5ab8776094d4fccbb (diff)
downloadexternal_llvm-1b629444e77c21e41985a61170fc0572ff465e25.zip
external_llvm-1b629444e77c21e41985a61170fc0572ff465e25.tar.gz
external_llvm-1b629444e77c21e41985a61170fc0572ff465e25.tar.bz2
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
Diffstat (limited to 'utils')
-rwxr-xr-xutils/NewNightlyTest.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index 4549acd..bdc65ae 100755
--- a/utils/NewNightlyTest.pl
+++ b/utils/NewNightlyTest.pl
@@ -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];
##############################################################