Changeset dd810ea for LFS


Ignore:
Timestamp:
03/10/2006 11:35:41 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
aab51df
Parents:
821a2c6
Message:

Added LANG configuration option to LFS module.

Location:
LFS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    r821a2c6 rdd810ea  
    124124        <xsl:text>&#xA;</xsl:text>
    125125      </xsl:when>
     126      <!-- Setting $LANG for /et/profile -->
     127      <xsl:when test="ancestor::sect1[@id='ch-scripts-profile'] and
     128                contains(string(),'export LANG=')">
     129        <xsl:value-of select="substring-before(string(),'export LANG=')"/>
     130        <xsl:text>export LANG=$LANG</xsl:text>
     131        <xsl:value-of select="substring-after(string(),'modifiers]')"/>
     132        <xsl:text>&#xA;</xsl:text>
     133      </xsl:when>
    126134      <!-- Copying the kernel config file -->
    127135      <xsl:when test="string() = 'make mrproper'">
  • LFS/master.sh

    r821a2c6 rdd810ea  
    261261    fi
    262262
     263    case "${this_script}" in
     264      *profile*  ) wrt_export_lang ;; # For /etc/profile we need to set LANG envar.
     265    esac
     266
    263267      # Check if we have a real /etc/fstab file
    264268    if [[ `_IS_ ${this_script} fstab` ]] && [[ -n "$FSTAB" ]] ; then
     
    313317PAGE= $PAGE
    314318TIMEZONE= $TIMEZONE
     319LANG= $LANG
    315320
    316321include makefile-functions
Note: See TracChangeset for help on using the changeset viewer.