app-shells/bash: bashrc: drop custom parsing of dircolors databases #572582
authorMike Frysinger <vapier@gentoo.org>
Tue, 2 Feb 2016 22:08:19 +0000 (17:08 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 3 Feb 2016 18:51:41 +0000 (13:51 -0500)
commit747857408315deb4b6a0ddd2a34484ca8e5ec2ff
tree5248bf4331c9ec81d1791b05e88ed378efdc5cf3
parent485b78806bf288e68eae9988e2e9342df8d74959
app-shells/bash: bashrc: drop custom parsing of dircolors databases #572582

Starting with coreutils-8.24, the dircolors TERM entries are run through
fnmatch rather than being a plain text string.  This means our parsing
logic no longer works because we assumed fixed strings.  It isn't easy to
process a list of path globs in bash, so rework the code to always run
the dircolors tool.  We were doing this anyways in the majority of cases,
so it's not like we're adding that much overhead.  The only people who
are negatively impacted are interactive colorless terminals.

Reported-by: Bernd Feige <Bernd.Feige@gmx.net>
app-shells/bash/files/bashrc