Re: LC_MESSAGES=C in debian/rules
Adam Borowski <firstname.lastname@example.org> writes:
> On Fri, Apr 29, 2011 at 10:48:04AM +0200, Bernhard R. Link wrote:
>> * Daniel Stender <email@example.com> [110429 10:37]:
>> > is it best practice to set LC_MESSAGE=C in debian/rules to prevent
>> > things like test suite breaking when building within non-English
>> > locales?
>> If you want to set something, set LC_ALL.
>> Otherwise a user-set LC_ALL will override it.
>> (and it also sets LC_CTYPE, which is even more likely to cause
>> problems than LC_MESSAGES).
> Explanation: the order env vars are checked is:
> 1. LC_ALL
> 2. LC_$category
> 3. LANG
Or run your test suite with env -i.