summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel <daniel@openssl.org>2022-02-09 16:23:46 +0100
committerRichard Levitte <levitte@openssl.org>2022-02-13 04:06:53 +0100
commitbd654f7e98e13c0dc3b5c707880b9a77ba9e342f (patch)
tree9f69af92defc8c73948a9ad0aaec2fe45c1896a5
parent8fff986d52606e1a33f9404504535e2e2aee3e8b (diff)
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)
-rwxr-xr-xdev/release.sh4
1 files changed, 4 insertions, 0 deletions
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 ... ]