commit:     d3d07a68aa2c1bcba40c613f68867054bd71942d
Author:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 18 20:20:13 2022 +0000
Commit:     Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Tue Jan 18 20:20:13 2022 +0000
URL:        
https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=d3d07a68

Use tee instead of >> on emerge -qpv0 cpv

Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org>

 buildbot_gentoo_ci/steps/builders.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/buildbot_gentoo_ci/steps/builders.py 
b/buildbot_gentoo_ci/steps/builders.py
index 5088c4a..f2fe16c 100644
--- a/buildbot_gentoo_ci/steps/builders.py
+++ b/buildbot_gentoo_ci/steps/builders.py
@@ -1109,7 +1109,9 @@ class RunEmergeInfo(BuildStep):
         shell_commad_list.append('=' + self.getProperty('cpv'))
         shell_commad_list.append('--usepkg-exclude')
         shell_commad_list.append(c + '/' + p)
-        shell_commad_list.append('>>')
+        shell_commad_list.append('|')
+        shell_commad_list.append('tee')
+        shell_commad_list.append('-a')
         shell_commad_list.append('/tmp/emerge_info.txt')
         aftersteps_list.append(
                 steps.ShellCommand(

Reply via email to