Fix an obvious cut-and-paste error.

llvm-svn: 116343
This commit is contained in:
Johnny Chen 2010-10-12 21:50:36 +00:00
parent 10093aa534
commit 370799c272
1 changed files with 1 additions and 1 deletions

View File

@ -564,7 +564,7 @@ for ia in range(len(archs) if iterArchs else 1):
new_stderr.close()
new_stderr = open("%s.%s" % (old_stderr.name, configPostfix), "w")
sys.stderr = new_stderr
if old_stdout.name != '<stderr>' and config.get('split_stderr'):
if old_stdout.name != '<stdout>' and config.get('split_stdout'):
if new_stdout:
new_stdout.close()
new_stdout = open("%s.%s" % (old_stdout.name, configPostfix), "w")