Closed leonschreuder closed 7 years ago
Hmm. That's a good point. I think the complete list of environment variables that should be checked is some subset of LANG, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES, LC_MONETARY, LC_NUMERIC, LC_TIME
, possibly just LANG, LC_ALL, LC_MESSAGES
.
I've had trouble installing glibc with a weird error message. Turns out my custom environment variable
LC_NESTING_DEPTH
which is a simple int, was interfering with the post-install code (below). I've removed the|^LC_
part which solved the problem. I would have submitted a pull-request, but I don't know what the script is trying to do with thisLC_
variable in the first place. Anyway, I don't think a custom environment variable should cause problems like this.