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

There is no reason to avoid it nowadays.

-BEGIN VERIFY SCRIPT-

sed -i "s/\<export LC_ALL=C\>/export LC_ALL=C.UTF-8/g" \
 $( git grep -l "^export LC_ALL=C$" -- ':!src/ipc/libmultiprocess' ':!src/minisketch' ':!src/secp256k1' )

-END VERIFY SCRIPT-
This commit is contained in:
Hennadii Stepanov
2026-07-26 16:42:48 +01:00
parent e34b8d5a7d
commit 1194918a5d
12 changed files with 12 additions and 12 deletions

View File

@@ -4,7 +4,7 @@
# 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 -o errexit -o pipefail -o xtrace

View File

@@ -4,7 +4,7 @@
# 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 -o errexit -o pipefail -o xtrace

View File

@@ -3,7 +3,7 @@
# 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
if [ -n "$SOURCE_DATE_EPOCH" ]; then
find . -exec touch -d "@$SOURCE_DATE_EPOCH" {} +

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
export LC_ALL=C
export LC_ALL=C.UTF-8
set -Eeuo pipefail
# Declare paths to libraries

View File

@@ -3,7 +3,7 @@
# 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
TOPDIR=${TOPDIR:-$(git rev-parse --show-toplevel)}
BUILDDIR=${BUILDDIR:-$TOPDIR/build}
BINDIR=${BINDIR:-$BUILDDIR/bin}

View File

@@ -3,7 +3,7 @@
# 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
SIGNAPPLE=signapple

View File

@@ -4,7 +4,7 @@
# 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
#network interface on which to limit traffic
IF="eth0"
#limit of the network interface in question

View File

@@ -3,7 +3,7 @@
# 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
INPUT=$(cat /dev/stdin)
if [ "$BITCOIN_VERIFY_COMMITS_ALLOW_SHA1" = 1 ]; then
printf '%s\n' "$INPUT" | gpg --trust-model always "$@" 2>/dev/null

View File

@@ -3,7 +3,7 @@
# 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
if [ -z "$OSSLSIGNCODE" ]; then
OSSLSIGNCODE=osslsigncode
fi

View File

@@ -4,7 +4,7 @@
# 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
FRAMEDIR=$(dirname "$0")
for i in {0..35}
do

View File

@@ -11,7 +11,7 @@
# The resulting script should exactly transform the previous commit into the current
# one. Any remaining diff signals an error.
export LC_ALL=C
export LC_ALL=C.UTF-8
if test -z "$1"; then
echo "Usage: $0 <commit>..."
exit 1

View File

@@ -3,7 +3,7 @@
# 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
check_remote=0
while getopts "?hr" opt; do