incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1377617 - /incubator/ooo/trunk/main/solenv/bin/build.pl
Date Mon, 27 Aug 2012 09:19:30 GMT
Author: af
Date: Mon Aug 27 09:19:29 2012
New Revision: 1377617

URL: http://svn.apache.org/viewvc?rev=1377617&view=rev
Log:
Reverted last change.

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=1377617&r1=1377616&r2=1377617&view=diff
==============================================================================
--- incubator/ooo/trunk/main/solenv/bin/build.pl (original)
+++ incubator/ooo/trunk/main/solenv/bin/build.pl Mon Aug 27 09:19:29 2012
@@ -2017,7 +2017,10 @@ sub run_job {
         if (!-d $log_dir) {
              system("$perl $mkout");
         };
-        $error_code = system ("$job_to_do 2>&1 | tee $log_file");
+        $error_code = system ("$job_to_do > $log_file 2>&1");
+        if (!$grab_output && -f $log_file) {
+            system("cat $log_file");
+        };
     } else {
         $error_code = system ("$job_to_do");
     };



Mime
View raw message