incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1357306 - /incubator/ooo/trunk/main/solenv/bin/build.pl
Date Wed, 04 Jul 2012 15:26:41 GMT
Author: af
Date: Wed Jul  4 15:26:40 2012
New Revision: 1357306

URL: http://svn.apache.org/viewvc?rev=1357306&view=rev
Log:
Show output synchronously for build --html

Modified:
    incubator/ooo/trunk/main/solenv/bin/build.pl

Modified: incubator/ooo/trunk/main/solenv/bin/build.pl
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/bin/build.pl?rev=1357306&r1=1357305&r2=1357306&view=diff
==============================================================================
--- incubator/ooo/trunk/main/solenv/bin/build.pl (original)
+++ incubator/ooo/trunk/main/solenv/bin/build.pl Wed Jul  4 15:26:40 2012
@@ -2017,10 +2017,7 @@ sub run_job {
         if (!-d $log_dir) {
              system("$perl $mkout");
         };
-        $error_code = system ("$job_to_do > $log_file 2>&1");
-        if (!$grab_output && -f $log_file) {
-            system("cat $log_file");
-        };
+        $error_code = system ("$job_to_do 2>&1 | tee $log_file");
     } else {
         $error_code = system ("$job_to_do");
     };



Mime
View raw message