Fix an inconsistent use of LLVMGCCDIR. In all other cases, this directory
authorBob Wilson <bob.wilson@apple.com>
Thu, 12 Mar 2009 19:47:24 +0000 (19:47 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 12 Mar 2009 19:47:24 +0000 (19:47 +0000)
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

utils/NewNightlyTest.pl

index 98f6158ec483ba9d1945cedf2a50f200ae4264f4..235ce8bfdf36489971d532f67533b488728e81cd 100755 (executable)
@@ -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 = "";