Bug#507241: lintian: --color not working any more
"Adam D. Barratt" <adam@adam-barratt.org.uk> writes:
> I'm guessing you're calling lintian with "-i"? If so, that's because the
> extra output is generated by piping lintian's output to lintian-info,
> which now causes the colour to be disabled when using "auto".
>
> I'm looking at a patch that makes lintian able to generate the output
> itself, thus allowing the combination of -i and --color=auto to work
> again (and will post it to the list for review once I've done some more
> testing).
A short-term fix would be to have Lintian check whether stdout is a tty
before spawning lintian-info, but your fix is the better one, so if you're
close to having it working already, we should just go with that.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: