From: Bob Wilson Date: Thu, 12 Mar 2009 19:47:24 +0000 (+0000) Subject: Fix an inconsistent use of LLVMGCCDIR. In all other cases, this directory X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=85cdfad07f14aac778534ef2067da485d2214b48;p=oota-llvm.git Fix an inconsistent use of LLVMGCCDIR. In all other cases, this directory refers to the "prefix" directory, i.e., one level above "bin". LLVMGCCPATH is used as the directory containing the llvm-gcc executable, so add a "/bin" suffix to get from LLVMGCCDIR to LLVMGCCPATH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66823 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index 98f6158ec48..235ce8bfdf3 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -197,7 +197,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) { if ($ENV{'LLVMGCCDIR'}) { $CONFIGUREARGS .= " --with-llvmgccdir=" . $ENV{'LLVMGCCDIR'}; - $LLVMGCCPATH = $ENV{'LLVMGCCDIR'}; + $LLVMGCCPATH = $ENV{'LLVMGCCDIR'} . '/bin'; } else { $LLVMGCCPATH = "";