mirror of https://github.com/openssl/openssl.git
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 bd654f7e98)
This commit is contained in:
parent
b5bcce5df1
commit
cfbcfe86c2
|
|
@ -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 ... ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue