[packages/rpm-build-tools] LANG=C is not enough to disable translations, add LC_ALL=C everywhere
Elan Ruusamäe
glen at pld-linux.org
Tue Feb 23 11:36:49 CET 2021
On 23.02.2021 11:55, baggins wrote:
> commit ae0dd942e0b1f73604de4bb1a2adea3dccaf8b8b
> Author: Jan Rękorajski <baggins at pld-linux.org>
> Date: Tue Feb 23 10:54:50 2021 +0100
>
> LANG=C is not enough to disable translations, add LC_ALL=C everywhere
>
> builder.sh | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
> ---
> diff --git a/builder.sh b/builder.sh
> index e0f1da3..f94b0a3 100755
> --- a/builder.sh
> +++ b/builder.sh
> @@ -479,7 +479,7 @@ Usage: builder [--all-branches] [-D|--debug] [-V|--version] [--short-version] [
> is_rpmorg() {
> local v
>
> - v=$(LANG=C rpm --version 2>&1)
> + v=$(LC_ALL=C LANG=C rpm --version 2>&1)
to my knowledge you need only LC_ALL=C, so the LANG=C is now superfluous.
More information about the pld-devel-en
mailing list