scripted-diff: Use C.UTF-8 locale in Guix scripts

The C.UTF-8 locale is set by default in `guix shell`, and there is no
reason to avoid it nowadays. This change also silences superfluous
warnings from Qt tools, making build logs cleaner and other issues
easier to spot.

Locales in the `guix-*` launch scripts have been updated as well for
consistency with the rest of the codebase.

-BEGIN VERIFY SCRIPT-

sed -i "s/\<export LC_ALL=C\>/export LC_ALL=C.UTF-8/g" \
 $( git grep -l "export LC_ALL=C" ./contrib/guix/* )

-END VERIFY SCRIPT-
This commit is contained in:
Hennadii Stepanov
2026-07-22 15:29:18 +01:00
parent b8844d3df7
commit 8916f7967e
15 changed files with 15 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
export LC_ALL=C
export LC_ALL=C.UTF-8
set -e -o pipefail
# Source the common prelude, which:

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
export LC_ALL=C
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
# Source the common prelude, which:

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
export LC_ALL=C
export LC_ALL=C.UTF-8
set -e -o pipefail
# Source the common prelude, which:

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
export LC_ALL=C
export LC_ALL=C.UTF-8
set -e -o pipefail
# Source the common prelude, which:

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
export LC_ALL=C
export LC_ALL=C.UTF-8
set -e -o pipefail
# Source the common prelude, which:

View File

@@ -2,7 +2,7 @@
# Copyright (c) The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
# shellcheck source=setup.sh

View File

@@ -2,7 +2,7 @@
# Copyright (c) The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
# shellcheck source=setup.sh

View File

@@ -2,7 +2,7 @@
# Copyright (c) The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
# shellcheck source=setup.sh

View File

@@ -2,7 +2,7 @@
# Copyright (c) The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
# shellcheck source=setup.sh

View File

@@ -2,7 +2,7 @@
# Copyright (c) The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
# shellcheck source=setup.sh

View File

@@ -2,7 +2,7 @@
# Copyright (c) The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
# shellcheck source=setup.sh

View File

@@ -2,7 +2,7 @@
# Copyright (c) 2021-present The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C
export LC_ALL=C.UTF-8
set -e -o pipefail
# Environment variables for determinism

View File

@@ -2,7 +2,7 @@
# Copyright (c) The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C
export LC_ALL=C.UTF-8
set -e -o pipefail
(

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
export LC_ALL=C
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
source contrib/shell/realpath.bash

View File

@@ -2,7 +2,7 @@
# Copyright (c) The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit.
export LC_ALL=C
export LC_ALL=C.UTF-8
set -o errexit -o pipefail
# Environment variables for determinism