]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Use C locale in Bash scripts.
authorDaniel <daniel@openssl.org>
Wed, 9 Feb 2022 15:23:46 +0000 (16:23 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 13 Feb 2022 03:06:53 +0000 (04:06 +0100)
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)

dev/release.sh

index bb2728e14f6b9f9f1ffa056bdf380406a86c2f26..cf184c309c154fa6ee7c0dc8042117361ef28c9a 100755 (executable)
@@ -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 ... ]