From: Daniel Date: Wed, 9 Feb 2022 15:23:46 +0000 (+0100) Subject: Use C locale in Bash scripts. X-Git-Tag: openssl-3.2.0-alpha1~2947 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd654f7e98e13c0dc3b5c707880b9a77ba9e342f;p=thirdparty%2Fopenssl.git Use C locale in Bash scripts. Fixes openssl#17228. Reviewed-by: Matt Caswell Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/17674) --- diff --git a/dev/release.sh b/dev/release.sh index bb2728e14f6..cf184c309c1 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 <