mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
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:
parent
8fff986d52
commit
bd654f7e98
@ -9,6 +9,10 @@
|
|||||||
# This is the most shell agnostic way to specify that POSIX rules.
|
# This is the most shell agnostic way to specify that POSIX rules.
|
||||||
POSIXLY_CORRECT=1
|
POSIXLY_CORRECT=1
|
||||||
|
|
||||||
|
# Force C locale because some commands (like date +%b) relies
|
||||||
|
# on the current locale.
|
||||||
|
export LC_ALL=C
|
||||||
|
|
||||||
usage () {
|
usage () {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage: release.sh [ options ... ]
|
Usage: release.sh [ options ... ]
|
||||||
|
Loading…
Reference in New Issue
Block a user