NewNightlyTest: Unbreak passing the build directory via a positional argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-11-06 04:12:02 +00:00
parent 2d7adb5f5a
commit fe1974a187

View File

@ -116,13 +116,6 @@ $TestSVNURL = 'http://llvm.org/svn/llvm-project' unless $TestSVNURL;
my $BuildDir = $ENV{'BUILDDIR'};
my $WebDir = $ENV{'WEBDIR'};
my $LLVMSrcDir = $ENV{'LLVMSRCDIR'};
$LLVMSrcDir = "$BuildDir/llvm" unless $LLVMSrcDir;
my $LLVMObjDir = $ENV{'LLVMOBJDIR'};
$LLVMObjDir = "$BuildDir/llvm" unless $LLVMObjDir;
my $LLVMTestDir = $ENV{'LLVMTESTDIR'};
$LLVMTestDir = "$BuildDir/llvm/projects/llvm-test" unless $LLVMTestDir;
##############################################################
#
# Calculate the date prefix...
@ -269,6 +262,13 @@ if ($nickname eq "") {
"\"-nickname <nickname>\"");
}
my $LLVMSrcDir = $ENV{'LLVMSRCDIR'};
$LLVMSrcDir = "$BuildDir/llvm" unless $LLVMSrcDir;
my $LLVMObjDir = $ENV{'LLVMOBJDIR'};
$LLVMObjDir = "$BuildDir/llvm" unless $LLVMObjDir;
my $LLVMTestDir = $ENV{'LLVMTESTDIR'};
$LLVMTestDir = "$BuildDir/llvm/projects/llvm-test" unless $LLVMTestDir;
##############################################################
#
# Define the file names we'll use