r3513 - in jhalfs/trunk: CLFS3 common/libs

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Fri Dec 14 12:30:09 PST 2007


Author: georgeb
Date: 2007-12-14 13:30:09 -0700 (Fri, 14 Dec 2007)
New Revision: 3513

Modified:
   jhalfs/trunk/CLFS3/clfs3.xsl
   jhalfs/trunk/common/libs/func_check_version.sh
Log:
Patch: force locale when checking version requirements

Modified: jhalfs/trunk/CLFS3/clfs3.xsl
===================================================================
--- jhalfs/trunk/CLFS3/clfs3.xsl	2007-10-02 18:33:03 UTC (rev 3512)
+++ jhalfs/trunk/CLFS3/clfs3.xsl	2007-12-14 20:30:09 UTC (rev 3513)
@@ -101,8 +101,10 @@
         <xsl:text>&#xA;</xsl:text>
       </xsl:when>
       <!-- Select Endian level for uClibc -->
+<!--
       <xsl:when test="$endian='xbig' and contains(string(),'LITTLE_ENDIAN')"/>
       <xsl:when test="$endian='xlittle' and contains(string(),'BIG_ENDIAN')"/>
+-->
       <!-- Setting $LANG for /etc/profile -->
       <xsl:when test="ancestor::sect1[@id='ch-scripts-profile'] and
                 contains(string(),'export LANG=')">

Modified: jhalfs/trunk/common/libs/func_check_version.sh
===================================================================
--- jhalfs/trunk/common/libs/func_check_version.sh	2007-10-02 18:33:03 UTC (rev 3512)
+++ jhalfs/trunk/common/libs/func_check_version.sh	2007-12-14 20:30:09 UTC (rev 3513)
@@ -77,6 +77,10 @@
 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"




More information about the alfs-log mailing list