diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-06 04:12:02 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-06 04:12:02 +0000 |
commit | fe1974a187ce6578f014ebc03c7881fdee27bf3d (patch) | |
tree | 2b2c4c8447db19db992bc5decf86e6e31a9178c4 /utils/NewNightlyTest.pl | |
parent | 2d7adb5f5af463f293b7a9ba4ddea937a29b03c9 (diff) |
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
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-x | utils/NewNightlyTest.pl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index acda7064e7..235b47882c 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -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 |