Skip to content

Commit

Permalink
Merge bitcoin#13494: Follow-up to bitcoin#13454: Fix broken build by …
Browse files Browse the repository at this point in the history
…exporting LC_ALL=C

7b23e6e Follow-up to bitcoin#13454: Fix broken build by exporting LC_ALL=C (practicalswift)

Pull request description:

  Follow-up to bitcoin#13454: Fix broken build by exporting `LC_ALL=C`.

Tree-SHA512: 5cca3182ba034dce28a0df5f4a4b343de6c2526048f17fee30e2f8d946e976b39d9cc54faae6c31bfe89022f9f4c360e9ec8e163a1690bc0656410a48bb81dbf
  • Loading branch information
MarcoFalke committed Jun 18, 2018
2 parents 45c00f8 + 7b23e6e commit d67eff8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/lint/lint-python-utf8-encoding.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Make sure we explicitly open all text files using UTF-8 (or ASCII) encoding to
# avoid potential issues on the BSDs where the locale is not always set.

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

0 comments on commit d67eff8

Please sign in to comment.