]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Force locale in `rustfmt` shell scripts that rely on sort order 2024-08-rustfmt-contrib
authorMatt Corallo <git@bluematt.me>
Tue, 6 Aug 2024 15:13:59 +0000 (15:13 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 6 Aug 2024 15:13:59 +0000 (15:13 +0000)
ci/rustfmt.sh
contrib/run-rustfmt.sh

index 1039429bc6ae5e6cf7a377ad6a679eee143609a5..56384aae3c5b8c5024e21b9f807dacacf2618558 100755 (executable)
@@ -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
 
index d10975657540ecf14c46a010f5e33f2ef34bf720..823e9e025b61fd63a7036f31aee87db57b9a9846 100755 (executable)
@@ -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