Skip to content

Commit

Permalink
Use C locale in Bash scripts.
Browse files Browse the repository at this point in the history
Fixes #17228.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from #17674)

(cherry picked from commit bd654f7)
  • Loading branch information
faramir-dev authored and levitte committed Feb 13, 2022
1 parent b5bcce5 commit cfbcfe8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
# This is the most shell agnostic way to specify that POSIX rules.
POSIXLY_CORRECT=1

# Force C locale because some commands (like date +%b) relies
# on the current locale.
export LC_ALL=C

usage () {
cat <<EOF
Usage: release.sh [ options ... ]
Expand Down

0 comments on commit cfbcfe8

Please sign in to comment.