The branch master has been updated
via bd654f7e98e13c0dc3b5c707880b9a77ba9e342f (commit)
from 8fff986d52606e1a33f9404504535e2e2aee3e8b (commit)
- Log -----------------------------------------------------------------
commit bd654f7e98e13c0dc3b5c707880b9a77ba9e342f
Author: Daniel <[email protected]>
Date: Wed Feb 9 16:23:46 2022 +0100
Use C locale in Bash scripts.
Fixes openssl#17228.
Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/17674)
-----------------------------------------------------------------------
Summary of changes:
dev/release.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev/release.sh b/dev/release.sh
index bb2728e14f..cf184c309c 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 <<EOF
Usage: release.sh [ options ... ]