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
This commit is contained in:
Daniel Dunbar 2009-12-15 00:41:47 +00:00
parent 99b653c36f
commit 9682043ab5

View File

@ -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";
}
}