Skip to content

Commit d67eff8

Browse files
author
MarcoFalke
committed
Merge #13494: Follow-up to #13454: Fix broken build by exporting LC_ALL=C
7b23e6e Follow-up to #13454: Fix broken build by exporting LC_ALL=C (practicalswift) Pull request description: Follow-up to #13454: Fix broken build by exporting `LC_ALL=C`. Tree-SHA512: 5cca3182ba034dce28a0df5f4a4b343de6c2526048f17fee30e2f8d946e976b39d9cc54faae6c31bfe89022f9f4c360e9ec8e163a1690bc0656410a48bb81dbf
2 parents 45c00f8 + 7b23e6e commit d67eff8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/lint/lint-python-utf8-encoding.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Make sure we explicitly open all text files using UTF-8 (or ASCII) encoding to
88
# avoid potential issues on the BSDs where the locale is not always set.
99

10+
export LC_ALL=C
1011
EXIT_CODE=0
1112
OUTPUT=$(git grep " open(" -- "*.py" | grep -vE "encoding=.(ascii|utf8|utf-8)." | grep -vE "open\([^,]*, ['\"][^'\"]*b[^'\"]*['\"]")
1213
if [[ ${OUTPUT} != "" ]]; then

0 commit comments

Comments
 (0)