Files
bitcoin/cmake/script/macos_zip.sh
Hennadii Stepanov 1194918a5d 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-
2026-07-26 16:42:48 +01:00

13 lines
335 B
Bash
Executable File

#!/bin/sh
# Copyright (c) 2024-present 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.UTF-8
if [ -n "$SOURCE_DATE_EPOCH" ]; then
find . -exec touch -d "@$SOURCE_DATE_EPOCH" {} +
fi
find . | sort | "$1" -X@ "$2"