Skip to content

Commit 70f632b

Browse files
committed
Merge #265: ci: set LC_ALL in shell scripts
05d34cc ci: set LC_ALL in shell scripts (Sjors Provoost) Pull request description: Needed to make to make the Bitcoin Core linter happy in the next subtree update in bitcoin/bitcoin#34804. ACKs for top commit: ryanofsky: Code review ACK 05d34cc. Seems good for these scripts to be locale-independent. Tree-SHA512: 701cf67859650176675edbab7d0f1fed5ce40ff0e1940f52316680a5a54d7ad2af259a03dbf679ec2e600826e29e748af460b6f6ebe28e3bf51cd999767c0f39
2 parents 8e8e564 + 05d34cc commit 70f632b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

ci/scripts/bitcoin_core_ci.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
export LC_ALL=C
4+
35
set -o errexit -o nounset -o pipefail -o xtrace
46

57
readonly SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"

ci/scripts/ci_helpers.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
export LC_ALL=C
4+
35
set -o errexit -o nounset -o pipefail -o xtrace
46

57
write_env_var() {

ci/scripts/config.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#
77
# Source CI configuration and output variables needed by the workflow.
88

9+
export LC_ALL=C
10+
911
set -o errexit -o nounset -o pipefail -o xtrace
1012

1113
readonly SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"

0 commit comments

Comments
 (0)