[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LC_MESSAGES=C in debian/rules

* Daniel Stender <daniel@danielstender.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).

I'd say a proper test-suite already sets LC_ALL=C itself unless
it's locale independent, so if you have a test-suite not doing
this please also report this upstream.

	Bernhard R. Link

Reply to: