4 Dec
2020
4 Dec
'20
15:12
On Friday 2020-12-04 15:17, Hans-Peter Jansen wrote:
The point is, if I 'osc chroot' into the package and trigger a build manually, colored output is generated. Therefor I guess, rpmbuild ignores/avoids certain environment values (COLORTERM?) for better parsebility.
Color decision is solely driven based on stdout being a tty (or not). In case of `osc build`, it is not a tty but a pipe to the outside world.