1 |
commit: d3d07a68aa2c1bcba40c613f68867054bd71942d |
2 |
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 18 20:20:13 2022 +0000 |
4 |
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 18 20:20:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=d3d07a68 |
7 |
|
8 |
Use tee instead of >> on emerge -qpv0 cpv |
9 |
|
10 |
Signed-off-by: Magnus Granberg <zorry <AT> gentoo.org> |
11 |
|
12 |
buildbot_gentoo_ci/steps/builders.py | 4 +++- |
13 |
1 file changed, 3 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/buildbot_gentoo_ci/steps/builders.py b/buildbot_gentoo_ci/steps/builders.py |
16 |
index 5088c4a..f2fe16c 100644 |
17 |
--- a/buildbot_gentoo_ci/steps/builders.py |
18 |
+++ b/buildbot_gentoo_ci/steps/builders.py |
19 |
@@ -1109,7 +1109,9 @@ class RunEmergeInfo(BuildStep): |
20 |
shell_commad_list.append('=' + self.getProperty('cpv')) |
21 |
shell_commad_list.append('--usepkg-exclude') |
22 |
shell_commad_list.append(c + '/' + p) |
23 |
- shell_commad_list.append('>>') |
24 |
+ shell_commad_list.append('|') |
25 |
+ shell_commad_list.append('tee') |
26 |
+ shell_commad_list.append('-a') |
27 |
shell_commad_list.append('/tmp/emerge_info.txt') |
28 |
aftersteps_list.append( |
29 |
steps.ShellCommand( |