diff options
author | Daniel <daniel@openssl.org> | 2022-02-09 16:23:46 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-02-13 04:11:12 +0100 |
commit | cfbcfe86c2ccdd308fc6fa3d3245dd6eb5774b0e (patch) | |
tree | 1daa8a7dd501c6b391cc787f2e3a24aaba2d7d4b /dev | |
parent | b5bcce5df1951ba2d7dd6a167826a3fe88f1dfd9 (diff) |
Use C locale in Bash scripts.
Fixes openssl#17228.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17674)
(cherry picked from commit bd654f7e98e13c0dc3b5c707880b9a77ba9e342f)
Diffstat (limited to 'dev')
-rwxr-xr-x | dev/release.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/release.sh b/dev/release.sh index 4b778f3b75..d60779d161 100755 --- a/dev/release.sh +++ b/dev/release.sh @@ -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 ... ] |