From: Andrei Pavel Date: Thu, 2 Oct 2025 10:47:48 +0000 (+0300) Subject: [#4082] Add LC_ALL=en_US to tools/extract_bnf.sh X-Git-Tag: Kea-3.1.3~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fdac089f895785786bcd200cd48044a75b81554f;p=thirdparty%2Fkea.git [#4082] Add LC_ALL=en_US to tools/extract_bnf.sh To prevent epsilons (ε) from appearing in the grammar. --- diff --git a/tools/extract_bnf.sh.in b/tools/extract_bnf.sh.in index 17c601725d..151bdf5049 100755 --- a/tools/extract_bnf.sh.in +++ b/tools/extract_bnf.sh.in @@ -39,7 +39,7 @@ if [ -f "${base}.yy" ]; then # bison may produce language specific wording (like "symbole terminalne" # if you system is set to Polish, rather than "Terminals") and this will # confuse our script. - LANG=en_US LANGUAGE=en_US @YACC@ -v "${base}.yy" -o output + LANG=en_US LANGUAGE=en_US LC_ALL=en_US @YACC@ -v "${base}.yy" -o output rm -f output output.h ./*.hh mv output.output /tmp/output output=/tmp/output