summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-11-01 07:40:13 +0000
committerLeah Rowe <leah@libreboot.org>2023-11-01 08:02:59 +0000
commitdfc5423cad2fc2646d64d69f99a06fc2fd7723c7 (patch)
treefd4bf11dcb499bb14cde9be8201e71d29f0fda32
parentf999349526d13ddb317a9840055458a79b112d77 (diff)
export LC_COLLATE=C and LC_ALL=C
this is to ensure alphanumeric sorting, with capital letters first; and numbers before letters. we always relied on this, but until now lbmk would just assume the host is configured this way. this fixes a longstanding design flaw in lbmk. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/build b/build
index 9ca9de63..8c9f8f9c 100755
--- a/build
+++ b/build
@@ -8,6 +8,9 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
+export LC_COLLATE=C
+export LC_ALL=C
+
. "include/err.sh"
. "include/option.sh"