summaryrefslogtreecommitdiff
path: root/utils/NewNightlyTest.pl
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-15 00:41:47 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-15 00:41:47 +0000
commit9682043ab55e43679442458ad6f39283d4ed9d1d (patch)
tree52680f2765996c9e1dd07790fce215dd4f95464d /utils/NewNightlyTest.pl
parent99b653c36f0141f6b9515d688960ac8c2cb857ff (diff)
downloadllvm-9682043ab55e43679442458ad6f39283d4ed9d1d.tar.gz
llvm-9682043ab55e43679442458ad6f39283d4ed9d1d.tar.bz2
llvm-9682043ab55e43679442458ad6f39283d4ed9d1d.tar.xz
NNT: Make sure stderr for build commands goes to log file, as intended but misdirected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-xutils/NewNightlyTest.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl
index 51f90184eb..a3063824f8 100755
--- a/utils/NewNightlyTest.pl
+++ b/utils/NewNightlyTest.pl
@@ -317,9 +317,9 @@ sub RunLoggedCommand {
} else {
if ($VERBOSE) {
print "$Title\n";
- print "$Command 2>&1 > $Log\n";
+ print "$Command > $Log 2>&1\n";
}
- system "$Command 2>&1 > $Log";
+ system "$Command > $Log 2>&1";
}
}
@@ -336,9 +336,9 @@ sub RunAppendingLoggedCommand {
} else {
if ($VERBOSE) {
print "$Title\n";
- print "$Command 2>&1 > $Log\n";
+ print "$Command >> $Log 2>&1\n";
}
- system "$Command 2>&1 >> $Log";
+ system "$Command >> $Log 2>&1";
}
}