mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 18:36:55 +00:00
NNT: Make sure stderr for build commands goes to log file, as intended but misdirected.
llvm-svn: 91379
This commit is contained in:
parent
ca7c690d3b
commit
1542d735d9
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user