From 56e487e8e084bde146b099d376a9c89a4ab14f88 Mon Sep 17 00:00:00 2001 From: George Boudreau Date: Fri, 14 Dec 2007 20:30:09 +0000 Subject: [PATCH] Patch: force locale when checking version requirements --- CLFS3/clfs3.xsl | 2 ++ common/libs/func_check_version.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CLFS3/clfs3.xsl b/CLFS3/clfs3.xsl index e0ec0f9..199f62f 100644 --- a/CLFS3/clfs3.xsl +++ b/CLFS3/clfs3.xsl @@ -101,8 +101,10 @@ + diff --git a/common/libs/func_check_version.sh b/common/libs/func_check_version.sh index 7c71077..1fdc0e9 100644 --- a/common/libs/func_check_version.sh +++ b/common/libs/func_check_version.sh @@ -77,6 +77,10 @@ inline_doc check_prerequisites() { # #----------------------------# + # Avoid translation of version strings + local LC_ALL=C + export LC_ALL + # LFS/HLFS/CLFS prerequisites check_version "2.6.2" "`uname -r`" "KERNEL" check_version "3.0" "$BASH_VERSION" "BASH"