Skip to content

Commit a3c3dbd

Browse files
authored
maint: set LC_ALL=C to force locale to C
1 parent 37a784b commit a3c3dbd

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

maint/RunManifestTest

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55

66
set -e
77

8-
LANG=C # Ensure stable ordering of `sort` output
9-
export LANG
8+
# Ensure stable ordering of `sort` output
9+
LANG=C
10+
LC_ALL=C
11+
export LANG LC_ALL
1012

1113
if [ "$1" = "" -o "$2" = "" ] ; then
1214
echo "Usage: $0 <dir> <manifest name> [<build type>]" >&2

maint/RunSymbolTest

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44

55
set -e
66

7-
LANG=C # Ensure stable ordering of `sort` output
8-
export LANG
7+
# Ensure stable ordering of `sort` output
8+
LANG=C
9+
LC_ALL=C
10+
export LANG LC_ALL
911

1012
if [ "$1" = "" -o "$2" = "" ] ; then
1113
echo "Usage: $0 <so_dir> <manifest_dir>" >&2

maint/UpdateAlways

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
# Set the LANG to C, because nroff converts ASCII "HYPHEN-MINUS" to Unicode
3434
# "HYPHEN" if the system is using a UTF-8 locale (like "C.UTF-8").
35-
export LANG=C
35+
export LANG=C LC_ALL=C
3636

3737
# Extract the current release version from configure.ac.
3838
CURRENT_RELEASE=`grep -E 'm4_define\(pcre2_(major|minor|prerelease)' configure.ac | \

0 commit comments

Comments
 (0)