Restore proper output redirection.

I flipped the test of the redirection logic in commit a2b25b883, which
caused stderr output to be sent to tty instead of stdout.
wilder
Michael Pyne 14 years ago
parent 672b22e8b7
commit 666c5d26d1
  1. 4
      kdesrc-build

@ -4538,8 +4538,8 @@ sub log_command
# Make sure we log everything.
# In the case of Qt, we may have forced on progress output so let's
# leave that interactive to keep the logs sane.
if($module->buildSystemType() eq 'Qt' &&
$module->buildSystem()->forceProgressOutput())
if(!($module->buildSystemType() eq 'Qt' &&
$module->buildSystem()->forceProgressOutput()))
{
open (STDERR, ">&STDOUT");
}

Loading…
Cancel
Save