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)
This commit is contained in:
Daniel 2022-02-09 16:23:46 +01:00 committed by Richard Levitte
parent 8fff986d52
commit bd654f7e98

View File

@ -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 ... ]