From 70260bdbcfa1c12ec798b01d881debc00d15ccc0 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Fri, 19 May 2023 11:04:16 -0400 Subject: [PATCH] FOUND-649: random validation problems (#373) --- bin/_blackbox_common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/_blackbox_common.sh b/bin/_blackbox_common.sh index 7095975..ccc05f9 100755 --- a/bin/_blackbox_common.sh +++ b/bin/_blackbox_common.sh @@ -15,6 +15,11 @@ source "${0%/*}"/_stack_lib.sh # Where are we? : "${BLACKBOX_HOME:="$(cd "${0%/*}" ; pwd)"}" ; +# Make grep and sort work like it did in the 1970s: +# Without this, blackbox fails to match filenames in blackbox-files.txt +export LC_ALL='C' +export LANG='en_US.UTF-8' + # What are the candidates for the blackbox data directory? # # The order of candidates matter. The first entry of the array