From: Matt Corallo Date: Tue, 6 Aug 2024 15:13:59 +0000 (+0000) Subject: Force locale in `rustfmt` shell scripts that rely on sort order X-Git-Tag: v0.0.124-beta~25^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2024-08-rustfmt-contrib;p=rust-lightning Force locale in `rustfmt` shell scripts that rely on sort order --- diff --git a/ci/rustfmt.sh b/ci/rustfmt.sh index 1039429bc..56384aae3 100755 --- a/ci/rustfmt.sh +++ b/ci/rustfmt.sh @@ -1,6 +1,8 @@ #!/bin/bash set -eox pipefail +export LC_ALL=C + # Generate initial exclusion list #find . -name '*.rs' -type f |sort >rustfmt_excluded_files diff --git a/contrib/run-rustfmt.sh b/contrib/run-rustfmt.sh index d10975657..823e9e025 100755 --- a/contrib/run-rustfmt.sh +++ b/contrib/run-rustfmt.sh @@ -1,6 +1,8 @@ #!/bin/bash set -eo pipefail +export LC_ALL=C + # Generate initial exclusion list #find . -name '*.rs' -type f |sort >rustfmt_excluded_files