On 08/10/2017 12:59 PM, Paul Eggert wrote: > Daniel P. Berrange wrote: >> It is sometimes neccesssary to override the locale when running >> build commands from make rules, but as maint.mk set LC_ALL, it >> is impossible to selectively override rules e.g. LC_CTYPE=C.UTF-8 >> will have no effect if LC_ALL is already set. > > Why not unset LC_ALL?
You still want a sane fallback for all the categories that you are not explicitly setting. It's harder to type: LANG=C LC_CTYPE=C.UTF-8 env -u LC_ALL foo than it is to type LC_CTYPE=C.UTF-8 foo where we know that LANG=C is already set and LC_ALL is already out-of-the-way. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature