From: Daniel Dunbar Date: Tue, 15 Dec 2009 00:41:47 +0000 (+0000) Subject: NNT: Make sure stderr for build commands goes to log file, as intended but misdirected. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9682043ab55e43679442458ad6f39283d4ed9d1d;p=oota-llvm.git 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 --- diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index 51f90184eb3..a3063824f8f 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"; } }